fallintoplace opened a new pull request, #1022: URL: https://github.com/apache/arrow-go/pull/1022
### Rationale for this change The CSV writer converts decimal values through math.Pow10 and big.Float. That changes valid Decimal128 and Decimal256 values for many scales and drops significant trailing zeros from fixed-scale output. ### What changes are included in this PR? * Format Decimal128 and Decimal256 values directly with their exact ToString implementations. * Preserve the declared scale, including trailing zeros and negative scales. * Update existing zero-value expectations to retain their two decimal places. ### Are these changes tested? Yes. The regression test covers a high-precision Decimal128 with a positive scale and a Decimal256 with a negative scale. All CSV tests and the assertion build pass with the required Parquet test data. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
