Skip to content
Discussion options

You must be logged in to vote

I think the timestamps may be interpreted as "None" which then has special rules for casting

You can see the actual types using the arrow_typeof function

> select '2021-03-27T22:00:00.000Z'::timestamp;
+----------------------------------+
| Utf8("2021-03-27T22:00:00.000Z") |
+----------------------------------+
| 2021-03-27T22:00:00              |
+----------------------------------+
1 row(s) fetched.
Elapsed 0.011 seconds.

> select arrow_typeof('2021-03-27T22:00:00.000Z'::timestamp);
+------------------------------------------------+
| arrow_typeof(Utf8("2021-03-27T22:00:00.000Z")) |
+------------------------------------------------+
| Timestamp(Nanosecond, None)                    |
+---…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Jefffrey
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants