Uh oh!
There was an error while loading. Please reload this page.
Arrow-582: [Java] Added JSON read/write support for Date, Time and TImestamp types - #366
Arrow-582: [Java] Added JSON read/write support for Date, Time and TImestamp types#366BryanCutler wants to merge 2 commits into
Conversation
…second types, added JSON test
wesm
commented
Mar 10, 2017
Can you add tests for nanoseconds with integer values exceeding 2^32? |
BryanCutler
commented
Mar 10, 2017
sure |
BryanCutler
commented
Mar 10, 2017
@wesm , do you mean a |
julienledem
commented
Mar 11, 2017
@wesm@BryanCutler: I think the current TimeVector in java is milliseconds only |
wesm
commented
Mar 21, 2017
@BryanCutler@julienledem do you want to coordinate to pick up the JSON support so we can get integration tests going? I will try to complete the C++ side sometime in the next week |
julienledem
commented
Mar 21, 2017
depends on: #407 |
BryanCutler
commented
Mar 21, 2017
It will be great to get this going! I should have some time in the next day or so to finish this up. @julienledem , does this also depend on ARROW-663 for additional vector value accessors? I think it should work now for 32-bit ints so maybe just get it working for TIME in milliseconds? |
wesm
commented
Mar 29, 2017
BryanCutler
commented
Apr 5, 2017
@wesm would you still want the JSON read/write test from here? It doesn't look like the other PR had any |
wesm
commented
Apr 5, 2017
I think it's in there -- the integration tests pass |
Not the integration tests, just on the Java side that test the Java JSON reader/writer are working java/vector/src/test/java/org/apache/arrow/vector/file/json/TestJSONFile.java https://github.com/apache/arrow/pull/366/files#diff-3166d7551b45955e3608b1a9deb0a13cR123 |
wesm
commented
Apr 5, 2017
Ah sorry, I misread. Can you submit a rebased patch with the unit tests, that would be great. Much obliged |
BryanCutler
commented
Apr 5, 2017
sure, just made #495 |
…and Date types, and integration tests closesapache#366 Author: Leif Walsh <leif.walsh@gmail.com> Author: Wes McKinney <wes.mckinney@twosigma.com> Closesapache#475 from leifwalsh/feature/java-date-time-types and squashes the following commits: 2e2a4cf [Leif Walsh] ARROW-729: [Java] removed Joda DateTime getters from Date* and Time* types 47f83a8 [Wes McKinney] Integration tests for all date and time combinations 6e86422 [Wes McKinney] ARROW-733: [C++/Python] Rename FixedWidthBinary to FixedSizeBinary for consistency with FixedSizeList 2dca474 [Leif Walsh] ARROW-729: [Java] Added units for date/time types
Modified
JsonFileReaderandJsonFileWriterto support Date and Time types. Date is written out as a Java Long and Time is written as a Java Integer.Added new unit test to verify read/write of JSON for Date, Time and Timestamp with milliseconds types.