yihua opened a new pull request, #813:
URL: https://github.com/apache/hudi-rs/pull/813
## Description
closes #812
`avro_to_arrow::schema` had `todo!()` for `local-timestamp-millis`,
`-micros` and `-nanos`. Converting a table schema with such a column panicked,
and behind an FFI boundary the panic aborted the host process, even when the
query did not select the column. This maps the three logical types to
timezone-less Arrow timestamps, which is what `arrow-avro` decodes them to and
what a parquet base file written with `isAdjustedToUTC=false` reads back as.
## How are the changes test-covered
- [ ] N/A
- [x] Automated tests (unit and/or integration tests)
- [ ] Manual tests
- [ ] Details are described below
A unit test converts an Avro record with the three logical types and asserts
the tz-less `Timestamp(ms|us|ns, None)` mapping; `cargo test -p hudi-core
--lib`, `cargo fmt --check` and `cargo clippy -D warnings` pass.
--
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]