Skip to content

Commit

Permalink
Use pd.read_csv for border collection
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiglaser committed Dec 3, 2024
1 parent 8b468fc commit 283879c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion digital_land/package/datasetparquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ def create_temp_table(self, input_paths):
)
"""
self.conn.execute(query)
except duckdb.Error as e: # Catch specific DuckDB error when running border collection
except (
duckdb.Error
) as e: # Catch specific DuckDB error when running border collection
if "Value with unterminated quote" in str(e):
dataframes = []
for file_path in input_paths_str:
Expand Down

0 comments on commit 283879c

Please sign in to comment.