fix: legacy extractor passes Path to export_table, not str

Fixes 'str' object has no attribute 'parent' when Keboola DuckDB
extension falls back to legacy client.
This commit is contained in:
ZdenekSrotyr 2026-03-31 12:03:16 +02:00
parent 865d6d657e
commit 0084f80ff6

View file

@ -143,7 +143,7 @@ def _extract_via_legacy(
try:
table_id = tc.get("id", tc["name"])
client.export_table(table_id, csv_path)
client.export_table(table_id, Path(csv_path))
# Convert CSV to Parquet using DuckDB
conv_conn = duckdb.connect()