AbsaOSS / AbsaOSS/spark-commons
Add support for serialization into`additionalInfo: AdditionalInfo` from `Map`, `case class`, other collections...
未关闭
enhancement
good first issue
- 主要语言
- Scala
- 星标
- 7
- 派生
- 0
- 平均合并
- 19 小时 57 分钟
- 30 天内合并 PR
- 1
描述
## 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,
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。