lawofcycles opened a new pull request, #1301:
URL: https://github.com/apache/arrow-java/pull/1301

   ## What's Changed
   `Format.asString` built the `FixedSizeList` (`+w:%d`), `FixedSizeBinary` 
(`w:%d`) and `Decimal` (`d:%d,%d[,%d]`) format strings with `String.format` and 
no explicit `Locale`. `java.util.Formatter` localises the digits of `%d` with 
the default locale, so a JVM running under `ar-EG`, `bn-BD`, `mr-IN` and 
similar locales exported `+w:٨` instead of `+w:8`, which arrow-rs and other 
implementations reject.
   
   This passes `Locale.ROOT` to the four calls and adds 
`FormatTest.testAsStringIgnoresDefaultLocale`, which sets the default locale to 
`ar-EG` for the duration of the test and asserts the ASCII output.
   
   Closes #1300.
   


-- 
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]

Reply via email to