*schema evolution on logical types* : Sounds like a good idea for a future
new feature.

*stringable representation of BigDecimal* : That's indeed not the case even
with current decimal type. This could be added with
fromCharSequence/toCharSequence with current and new decimal type to get
exponential representation as "1.23E-8" for example.

Kind regards,
Christophe

Le mar. 26 sept. 2023 à 17:17, Oscar Westra van Holthe - Kind <
os...@westravanholthe.nl> a écrit :

> Hi,
>
> As far as a "stringable representation of BigDecimal" is concerned, I
> always thought it would then be modelled as a string instead of a logical
> type.
>
> The difficult part here is how to handle an unknown scale, but with the
> requirement to have exact data. But honestly, I think we don't want that.
>
> I would however, like to see a way to do schema evolution on logical types.
> That would allow (for example) widening conversions on decimals, same as
> for int/float now.
>
>
> Kind regards,
> Oscar
>
> --
>
> ✉️ Oscar Westra van Holthe - Kind <opw...@apache.org>
>
> 🌐 https://github.com/opwvhk/
>

Reply via email to