You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/04/26 11:23:32 UTC

[GitHub] [arrow-rs] alamb opened a new issue #38: Read temporal values from JSON

alamb opened a new issue #38:
URL: https://github.com/apache/arrow-rs/issues/38


   *Note*: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-4803
   
   Ability to parse strings that look like timestamps to timestamp type. Need to consider whether only timestamp type should be supported as most JSON libraries stick to ISO8601. It might also be inefficient to use regex for timestamps, so the user should provide a hint of which columns to convert to timestamps


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-rs] sum12 commented on issue #38: Read temporal values from JSON

Posted by GitBox <gi...@apache.org>.
sum12 commented on issue #38:
URL: https://github.com/apache/arrow-rs/issues/38#issuecomment-1008956010


   @alamb I would like to take a stab at this one (if it is still relevant)
   Thanks for looking :-)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-rs] sum12 commented on issue #38: Read temporal values from JSON

Posted by GitBox <gi...@apache.org>.
sum12 commented on issue #38:
URL: https://github.com/apache/arrow-rs/issues/38#issuecomment-1006626932


   It seems the behavior here is not consistent.  TemporalValues can get parsed to `u64` if they look like `u64` otherwise it is a `null`, but only while dealing with `build_struct_array` whereas for `build_nested_list_array` an error is returned. 
   
   It could be done as done in csv_reader with regex and extra strings describing possible formats. Or we could have parser as closures (eg : `Fn(String) -> Type)`) stored in the reader/decoder(/Schema?)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow-rs] alamb commented on issue #38: Read temporal values from JSON

Posted by GitBox <gi...@apache.org>.
alamb commented on issue #38:
URL: https://github.com/apache/arrow-rs/issues/38#issuecomment-1009285243


   As @nevi-me  filed the original ticket, he may have some additional context. Thanks @sum12 !


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org