JasonLi-cn opened a new issue, #4851: URL: https://github.com/apache/arrow-rs/issues/4851
**Describe the bug** [make_primitive_scalar](https://github.com/apache/arrow-rs/blob/master/arrow-ord/src/comparison.rs#L55) function loses DataType Internal information. Example: Arg `d` is `DataType::Timestamp(TimeUnit::Millisecond, Some("+08:00"))`, but the DataType of the return ScalarValue is `DataType::Timestamp(TimeUnit::Millisecond, None)`, which loses the tz `Some("+08:00")`. **To Reproduce** <!-- Steps to reproduce the behavior: --> **Expected behavior** The DataType of the return ScalarValue is `DataType::Timestamp(TimeUnit::Millisecond, Some("+08:00"))` **Additional context** <!-- Add any other context about the problem here. --> -- 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]
