Closed ue71603 closed 2 months ago
The cause is different. DuckDB probes the column als SQL TIME, since no explicit table definition is defined. It is not explicitly defined because the order of elements between GTFS files may differ. A discussion on the subject was started to provide the types for column headers and have column headers as must, or have types as optional.
Obviously you could read the first line of the Python file to establish which columns are present in what order, then create the table definition based on the order used in the file, but using the types defined by the standard.
When a file like shape.txt is missing then import.py aborts
Not related to this issue.
Using https://transport.data.gouv.fr/datasets/agregat-oura the import stops, because a field is out of range
However, this is a legal GTFS value https://gist.github.com/derhuerst/574edc94981a21ef0ce90713f1cff7f6