klion26 commented on code in PR #8113: URL: https://github.com/apache/arrow-rs/pull/8113#discussion_r2269647158
########## parquet-variant-compute/src/cast_to_variant.rs: ########## @@ -175,6 +262,59 @@ mod tests { use parquet_variant::{Variant, VariantDecimal16}; use std::{sync::Arc, vec}; + #[test] + fn test_cast_to_variant_timestamp() { + let run_array_tests = + |microseconds: i64, array_ntz: Arc<dyn Array>, array_tz: Arc<dyn Array>| { + let timestamp = DateTime::from_timestamp_nanos(microseconds * 1000); + run_test( + array_tz, + vec![Some(Variant::TimestampMicros(timestamp)), None], Review Comment: Yes, currently, `Variant::TimestampNanos`/`UUID`/`TimeNTZ` has not been supported, I added `TimeNTZ` in #8114 -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org