Open troxil opened 5 years ago
oof, this is a tough one. Does ISO-8601 specify what to do for non-4-digit years?
(Inadvertent button push lol)
I experienced the same issue with negative years (unloaded as -1
), so please bear that edge case in mind too when thinking about solutions
If you want to delete it, just follow customize section of the document to rewire query to filter out the records.
I encounter it long time ago with even BC years
Description
Unloading a
DATE
column that has dates before the year1000
causes failures.I know this issue is due to the
UNLOAD
doesn't pad the leading 0's in when writing the CSV correctly. but I'm unsure how to deal with this?Source of the problem is in here https://github.com/hellonarrativ/spectrify/blob/master/spectrify/utils/timestamps.py#L35
What I Did