Port DH-11692: Add native support for java.time types#3385
Port DH-11692: Add native support for java.time types#3385nbauernfeind merged 14 commits intodeephaven:mainfrom
Conversation
3de7432 to
b0a0f12
Compare
515286e to
a3efc5d
Compare
|
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. |
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.
…tMemoryColumnSource
…tSparseMemoryColumnSource
|
Labels indicate documentation is required. Issues for documentation have been opened: How-to: https://github.com/deephaven/deephaven.io/issues/2256 |
I did a bit more replication than was in the DHE implementation; but hopefully for the better.
DH-11692 via commits:
Follow up work:
Instant/LocalDate/LocalTime/ZonedDateTimesupport for Parquet, KafkaTools and JsonNodeUtil #3367ArraySource#movesupport moving of full blocks #3359ColumnDataTypeto use as return type toColumnSource#getType#3455Nightlies: https://github.com/nbauernfeind/deephaven-core/actions/runs/4296250838