Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Can't parse '"2020-06-12T19:03:18+00:00"' as Timestamp #253

Open
jcheung0 opened this issue Mar 7, 2022 · 1 comment
Open

Can't parse '"2020-06-12T19:03:18+00:00"' as Timestamp #253

jcheung0 opened this issue Mar 7, 2022 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@jcheung0
Copy link

jcheung0 commented Mar 7, 2022

I need help understanding what timestamp format is supported by the connector that supports this format

I can parse the timestamp format if I run it through this through the snowflake worksheet but when I use the format inside the file_format it's still unable to parse it a little guidance would be great

SELECT TO_TIMESTAMP('2020-06-12T19:03:18+00:00', 'YYYY-MM-DD"T"HH24:MI:SS+"00:00"');

thank you

@jcheung0 jcheung0 added the help wanted Extra attention is needed label Mar 7, 2022
@Samira-El
Copy link
Contributor

Hey, we don't really use any explicit format, but we have the parameter TIMESTAMP_INPUT_FORMAT set to AUTO at the account level.
https://docs.snowflake.com/en/sql-reference/parameters.html#timestamp-input-format

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants