Skip to content

Commit 852fb6a

Browse files
committed
Support for sources with different schemas
1 parent 2d3fc50 commit 852fb6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fiboa_cli/conversion/duckdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def convert(
101101
con.execute(
102102
f"""
103103
COPY (
104-
SELECT {selection} FROM read_parquet({sources})
104+
SELECT {selection} FROM read_parquet({sources}, union_by_name=true)
105105
{where}
106106
ORDER BY ST_Hilbert({geom_column})
107107
) TO ? (

0 commit comments

Comments
 (0)