COPY (
SELECT * EXCLUDE(AddrPoint,
DateUpdate,
Longitude,
Latitude,
Shape),
DateUpdate::TIMESTAMP AS DateUpdate,
ST_POINT(Longitude, Latitude) AS geom
FROM ST_READ('NAD_r17.gdb/a00000009.gdbtable')
ORDER BY HILBERT_ENCODE([Longitude,
Latitude]::DOUBLE[2])
) TO 'NAD_r17.pq' (
FORMAT 'PARQUET',
CODEC 'ZSTD',
COMPRESSION_LEVEL 22,
ROW_GROUP_SIZE 15000);
The ZIP is 8 GB and decompresses into ~50 files totalling 46 GB uncompressed. There is no progress bar at all. Even when trying to just count records.