DuckDB v1.0.0 1f98600c2c
$ cd '/mnt/j/gis/Global/overture/2024_07/theme=addresses/type=address'
$ COUNTRY=CA
$ echo "COPY (
SELECT h3_cell_to_boundary_wkt(
h3_latlng_to_cell(bbox.ymax, bbox.xmax, 5))::geometry geom,
COUNT(*)
FROM read_parquet('*.parquet')
WHERE country = '$COUNTRY'
group by 1
) TO '../../addresses.$COUNTRY.gpkg'
WITH (FORMAT GDAL,
DRIVER 'GPKG',
LAYER_CREATION_OPTIONS 'WRITE_BBOX=YES')" | ~/duckdb
Floating point exception
Just taking a quick look at the US JSON issue. This worked for me. Weird... could be a different version of duckdb? Or maybe it's a specific record? That would be surprising but definitely possible.