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

barrage: support decoding additional LocalDate and LocalTime formats #5453

Open
nbauernfeind opened this issue May 3, 2024 · 0 comments · May be fixed by #6065
Open

barrage: support decoding additional LocalDate and LocalTime formats #5453

nbauernfeind opened this issue May 3, 2024 · 0 comments · May be fixed by #6065
Assignees
Labels
barrage core Core development tasks feature request New feature or request May2024
Milestone

Comments

@nbauernfeind
Copy link
Member

nbauernfeind commented May 3, 2024

ChunkInputStreamGenerator currently picks a deserialization strategy based on the destination java class type. If we also pass in an ArrowType then we could support encoding/decoding java types to multiple arrow formats.

For example we support Date if represented as 64-bit number of days since the epoch * ms_in_a_day, but we do not support Date if represented as 32-bit number of days since the epoch.

Similarly, TimeUnit can be represented in seconds, milliseconds, microseconds and nanoseconds. Currently we only support nanoseconds serialization/deserialization. We could do better with some refactoring. This is referring to LocalTime.

ZonedDateTime should keep time zone as specified in the schema instead of picking the JVM default.

@nbauernfeind nbauernfeind added feature request New feature or request barrage core Core development tasks labels May 3, 2024
@nbauernfeind nbauernfeind self-assigned this May 3, 2024
@rcaudy rcaudy added this to the 3. May 2024 milestone May 3, 2024
@pete-petey pete-petey modified the milestones: 3. May 2024, Backlog Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
barrage core Core development tasks feature request New feature or request May2024
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants