Reputation: 18790
encountered this error when copying data, which is just unloaded from one redshift table, into another redshift table
Invalid timestamp format or value [YYYY-MM-DD HH24:MI:SS]
the data entry is:
2016-07-07T14:17:57.360+02:00
How could I solve it?
Hard to image unload the data and can not load it back again on Redshift.
Upvotes: 2
Views: 4125
Reputation: 123
We had a similar issue, and using TIMEFORMAT 'auto'
did not solve it.
This answer to a similar question explains a workaround using an intermediate table with a varchar field
Upvotes: 0