niebayes opened a new issue, #7161: URL: https://github.com/apache/arrow-rs/issues/7161
**Describe the bug** <!-- A clear and concise description of what the bug is. --> The arrow::util module contains a `create_random_batch` function for testing purpose. When given a schema containing a field having a timestamp type with a timezone, the function fails due to the schema of the generated record batch is not consistent with the provided schema. That's because the `create_random_array` function ignores the timezone of a timestamp type. **To Reproduce** <!-- Steps to reproduce the behavior: --> Call the `create_random_batch` function with a schema containing a field having a timestamp type with a timezone. **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> The `create_random_batch` function should respect the timezone of a timestamp type. **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]
