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

feat: Instants and ZonedDateTimes should be treated as DateTimes #1117

Merged
merged 1 commit into from
Feb 28, 2023

Conversation

nbauernfeind
Copy link
Member

@nbauernfeind nbauernfeind commented 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 added this to the February 2023 milestone Feb 28, 2023
@nbauernfeind nbauernfeind requested a review from mofojed February 28, 2023 18:43
@nbauernfeind nbauernfeind self-assigned this Feb 28, 2023
@nbauernfeind nbauernfeind changed the title Instants and ZonedDateTimes should be treated as DateTimes feat: Instants and ZonedDateTimes should be treated as DateTimes Feb 28, 2023
@codecov
Copy link

codecov bot commented Feb 28, 2023

Codecov Report

Merging #1117 (f1c06ed) into main (ffb7ada) will increase coverage by 0.00%.
The diff coverage is 50.00%.

@@           Coverage Diff           @@
##             main    #1117   +/-   ##
=======================================
  Coverage   43.37%   43.37%           
=======================================
  Files         434      434           
  Lines       32613    32617    +4     
  Branches     8214     8218    +4     
=======================================
+ Hits        14146    14148    +2     
- Misses      18418    18420    +2     
  Partials       49       49           
Flag Coverage Δ
unit 43.37% <50.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
packages/jsapi-utils/src/TableUtils.ts 53.43% <50.00%> (-0.02%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@nbauernfeind nbauernfeind merged commit 3900a2e into deephaven:main Feb 28, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Feb 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants