You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "niebayes (via GitHub)" <gi...@apache.org> on 2025/02/20 07:21:00 UTC
[I] create_random_batch fails with timestamp types having a timezone [arrow-rs]
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: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] create_random_batch fails with timestamp types having a timezone [arrow-rs]
Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #7161: create_random_batch fails with timestamp types having a timezone
URL: https://github.com/apache/arrow-rs/issues/7161
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org