File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/dve/core_engine/backends/implementations/duckdb/readers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ def read_to_relation( # pylint: disable=unused-argument
100100
101101 # there is a raise_if_empty arg for 0.18+. Future reference when upgrading. Makes L85
102102 # redundant
103- df = pl .scan_csv (resource , ** reader_options ).select (list (polars_types .keys ())) # pylint: disable=W0612
103+ df = pl .scan_csv (resource , ** reader_options ).select (list (polars_types .keys ())) # type: ignore # pylint: disable=W0612
104104
105105 return ddb .sql ("SELECT * FROM df" )
106106
@@ -119,8 +119,8 @@ class DuckDBCSVRepeatingHeaderReader(PolarsToDuckDBCSVReader):
119119 | shop 1 | clothes | 2025-01-01 | jeans | 20.39 |
120120 | shop 1 | clothes | 2025-01-01 | shirt | 14.99 |
121121
122- This reader will just pull out the distinct values from the header column. Where there are
123- more/less than one distinct value per column, the reader will produce a
122+ This reader will just pull out the distinct values from the header column. Where there are
123+ more/less than one distinct value per column, the reader will produce a
124124 `NonDistinctHeaderError`.
125125
126126 So using the example above, the expected entity would look like this...
You can’t perform that action at this time.
0 commit comments