AbsaOSS / AbsaOSS/spark-commons

Add support for serialization into`additionalInfo: AdditionalInfo` from `Map`, `case class`, other collections...

Aberta
#90 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement good first issue
Linguagem predominante
Scala
Estrelas
7
Forks
0
Merge médio
19h 57min
PRs com merge (30d)
1

Descrição

## Background
Right now the `AdditionalInfo` type in error handling is just a synonym for `String`, while the intention is it to be a JSON.
Right now though any garbage can be put into the field.

## Feature
Turn the type into a value class with a private constructor and an apply method that will serialize provided objects into json.
Of course keep a constructor to allow an empty `AdditionalInfo`.
Also create an implicit conversion from the value class to `String` for easy push into Spark,

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.