fallintoplace opened a new pull request, #10173:
URL: https://github.com/apache/arrow-rs/pull/10173
### What changed
This updates Variant `Time` JSON formatting to trim only trailing zeros from
fractional microseconds.
### Why
The previous formatter used `trim_matches('0')`, which removed leading zeros
as well as trailing zeros. That could change values like `.010010` into `.1001`
during JSON serialization.
### Validation
- `cargo fmt --package parquet-variant-json`
- `cargo test -p parquet-variant-json test_time_to_json`
--
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]