Repository navigation
ARROW-701: [Java] Support Additional Date Type Metadata - #431
BryanCutler wants to merge 1 commit into
Conversation
|
@julienledem , this allows to use |
|
ping @julienledem @wesm does this seem ok to you? |
|
Seems like we're kicking the can a bit to not implement support for both kinds of dates. I'll have an integration test fixture available for both units this week (and the ability to emit from C++), so we can do the work in this patch, or do it in a follow up patch. Up to you |
|
@wesm I'm not quite sure what it would take to change |
|
OK, @julienledem? I completed the C++ side in #446 today, so we need to bring Java up to spec so we can run the integration tests (which may expose some more problems) |
julienledem
left a comment
There was a problem hiding this comment.
LGTM.
I'm happy with merging this patch and add the vector as a follow up.
To add the other units you need to add to this file:
https://github.com/apache/arrow/blob/master/java/vector/src/main/codegen/data/ValueVectorTypes.tdd
|
Thanks @julienledem! So would you recommend just adding another |
The format for Date type now includes metadata for units as DAYS or MILLISECONDS. This change adds DateUnit and support for usage in metadata. Includes round-trip JSON testing. Author: Bryan Cutler <cutlerb@gmail.com> Closes apache#431 from BryanCutler/java-date_unit-metadata-ARROW-701 and squashes the following commits: cdbcbfd [Bryan Cutler] Added support for DateUnit metadata
The format for Date type now includes metadata for units as DAYS or MILLISECONDS. This change adds DateUnit and support for usage in metadata. Includes round-trip JSON testing.