Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnionFixedSizeListWriter does not support TimeStamp*TZ #552

Open
nbauernfeind opened this issue Jan 22, 2025 · 0 comments
Open

UnionFixedSizeListWriter does not support TimeStamp*TZ #552

nbauernfeind opened this issue Jan 22, 2025 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed Type: enhancement New feature or request

Comments

@nbauernfeind
Copy link
Contributor

Describe the enhancement requested

Trying to get a timeStampNanoTZ() off of the UnionFixedSizeListWriter results in this exception:

You tried to write a TimeStampNanoTZ type when you are using a ValueWriter of type UnionFixedSizeListWriter.
java.lang.IllegalArgumentException: You tried to write a TimeStampNanoTZ type when you are using a ValueWriter of type UnionFixedSizeListWriter.
	at org.apache.arrow.vector.complex.impl.AbstractFieldWriter.fail(AbstractFieldWriter.java:1350)
	at org.apache.arrow.vector.complex.impl.AbstractFieldWriter.timeStampNanoTZ(AbstractFieldWriter.java:1136)
	at org.apache.arrow.vector.complex.impl.UnionFixedSizeListWriter.timeStampNanoTZ(UnionFixedSizeListWriter.java:68)

Is it possible to support this since timeStampNano() and timeStampNanoTZ() have identical payloads? (just one has the TZ string in the field schema)

@nbauernfeind nbauernfeind added the Type: enhancement New feature or request label Jan 22, 2025
@lidavidm lidavidm added good first issue Good for newcomers help wanted Extra attention is needed labels Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed Type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants