More robust type inference for exceptional CSV files with DuckDB data explorer backend #5746
Labels
area: data explorer
Issues related to Data Explorer category.
area: duckdb
Issues related to positron-duckdb
enhancement
New feature or request
sharp-edge
Milestone
As described in #5707, certain large CSV files can pose type inference difficulties for the default settings with DuckDB's
read_csv
scan function.The Tad data viewer (MIT licensed) uses DuckDB and will disable data sampling for type inference if loading the whole CSV file fails after the initial attempt at type inference. We can probably take a similar approach: https://github.com/antonycourtney/tad/blob/master/packages/reltab-duckdb/src/csvimport.ts#L78.
The text was updated successfully, but these errors were encountered: