Closed marklit closed 3 months ago
This might also relate to another JSON decoding issue over S3 vs local https://gist.github.com/marklit/3a0d57a0558a80cd387e5da7be4dce96#gistcomment-5129094
I'm now seeing the issue on S3 with August's data. I'm using v1.0.0 1f98600c2c
COUNTRY=US
echo "COPY (
SELECT h3_cell_to_boundary_wkt(
h3_latlng_to_cell(bbox.ymax, bbox.xmax, 5))::geometry geom,
COUNT(*)
FROM read_parquet('s3://overturemaps-us-west-2/release/2024-08-20.0/theme=addresses/type=address/*.parquet')
WHERE country = '$COUNTRY'
group by 1
) TO 'addresses.2024.08.$COUNTRY.gpkg'
WITH (FORMAT GDAL,
DRIVER 'GPKG',
LAYER_CREATION_OPTIONS 'WRITE_BBOX=YES')" | ~/duckdb
13% ▕███████▊ ▏ Floating point exception
The issue is probably happening outside of the Spatial extension, I raised this instead: https://github.com/duckdb/duckdb/issues/13504
Sourcing from Overture's S3 release for July doesn't have any issues:
But running the same on their files locally raises a floating point exception: