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

Port DH-11692: Add native support for java.time types #3385

Merged
merged 14 commits into from
Mar 3, 2023

Conversation

cpwright
cpwright previously approved these changes Feb 3, 2023
@nbauernfeind nbauernfeind modified the milestones: Jan 2023, Feb 2023 Feb 8, 2023
@nbauernfeind
Copy link
Member Author

I can't seem to reply to your final comment. I added ZonedDateTime/Instant to the list. I removed Date. For now LocalDate and LocalTime are stubbed with FixedSizeBinary formats, but these are not implemented between server/client neither for worker-to-worker nor for the jsapi.

At this moment, barrage strips the ZoneId from ZonedDateTime columns and sends as UTC. The ser/deser code acts on Class<?> and it would be much nicer to use ColumnDataType instead of passing extra args.

@nbauernfeind nbauernfeind requested a review from rcaudy February 28, 2023 18:38
nbauernfeind added a commit to deephaven/web-client-ui that referenced this pull request Feb 28, 2023
deephaven/deephaven-core#3385 is a port of DH-11692 which adds `Instant`
and `ZonedDateTime` support to the engine. I've similarly encoded these
types over Barrage as a `long` (as a nanosecond since epoch). The
encoding of Zones will actually need to be implemented at a future date
as the best implementation requires (encourages?) a much larger
refactoring of ColumnSource types. See deephaven/deephaven-core#3455 for
more information.

I was able to get the web-client-ui to display these types with this
small patch.
@nbauernfeind nbauernfeind merged commit 3b3d523 into deephaven:main Mar 3, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2023
@deephaven-internal
Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants