You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The array_value_to_string function (from arrow-cast) already supports RFC3339 style timestamps. We would use this function inside arrow-json to change to writing RFC3339 style timestamps while writing out record batches to JSON files. The array_value_to_string function will be modified a bit to print a trailing Z, when the timestamp is in UTC.
Describe alternatives you've considered
We could also implement a handle_timestamp helper function as present in arrow-csv inside arrow-json, but that would be a duplication of code.
Additional context
We intend to use array_value_to_string across arrow-csv, arrow-json, and arrow-pretty for consistency in the RFC3339 timestamp implementation in the near future.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
arrow-json
needs to use RFC3339 style timestamps for timestamps with timezones as already done inarrow-csv
. We intend to fix the upstream InfluxDB IOX bug https://github.com/influxdata/influxdb_iox/issues/2095.Describe the solution you'd like
The
array_value_to_string
function (fromarrow-cast
) already supports RFC3339 style timestamps. We would use this function insidearrow-json
to change to writing RFC3339 style timestamps while writing out record batches to JSON files. Thearray_value_to_string
function will be modified a bit to print a trailingZ
, when the timestamp is in UTC.Describe alternatives you've considered
We could also implement a handle_timestamp helper function as present in
arrow-csv
insidearrow-json
, but that would be a duplication of code.Additional context
We intend to use
array_value_to_string
acrossarrow-csv
,arrow-json
, andarrow-pretty
for consistency in the RFC3339 timestamp implementation in the near future.The text was updated successfully, but these errors were encountered: