Closed jmontrose closed 4 months ago
I think the issue is here
select
f.id, f.type, f.subtype, f.class, ST_GeomFromWkb(f.geometry) AS geometry
from
(select
ST_GeomFromWkb(geometry) AS geometry
You're converting from WKB twice, as GEOMETRY
is implicitly castable from BLOB. I think this has been changed in the latest dev build so that geometry won't implicitly cast to blobs anymore and this will thus result in a binder exception.
Ouch! That did it, thank you for the quick response 🙏
I get this when I try to get too fancy and use a nested query, so forgive me if this is user error. I have a two-state workaround that's fine, but I'm curious about the error.
I'm in love with DuckDB, thanks!
This fails:
This succeeds (previously saved the output):
Both queries start with: