apache / arrow-adbc

Database connectivity API standard and libraries for Apache Arrow
https://arrow.apache.org/adbc/
Apache License 2.0
384 stars 97 forks source link

fix(csharp/src/Drivers/Apache/Spark): correct precision/scale handling with zeros in fractional portion #2198

Closed birschick-bq closed 1 month ago

birschick-bq commented 1 month ago

Fixed two bugs

  1. scale should be able to be the same as precision
  2. when leading zeros in fractional portion and positive exponent, the significant digits where not calculated correctly.