Improved UX of creating TimestampNanosecondArray
with timezones
#3042
Labels
arrow
Changes to the arrow crate
enhancement
Any new improvement worthy of a entry in the changelog
good first issue
Good for newcomers
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
While working on apache/datafusion#4039 and https://github.com/influxdata/influxdb_iox/pull/6061 I ended up having to do this many times:
While this API is already nicer than previously, there are two more improvements that might help:
Describe the solution you'd like
Allow passing
&str
as well asString
towith_timezone
:Add an alias for UTC:
Describe alternatives you've considered
Additional context
cc @waitingkuo who is actively working to improve the timezone situation in arrow / datafusion ❤️
I think this is a good first issue as the code and tests are already there, all that is needed is a signature change (from
String
toimpl Into<String>
) and some testsThe text was updated successfully, but these errors were encountered: