Commit 0dd3514
authored
Fix select_dtypes for quoted column identifiers (#242)
Fixes duckdb/duckdb#20329
`DuckDBPyRelation.select_dtypes` failed for relations with column names
that
require quoting (e.g., names containing spaces). The projection builder
did
not correctly quote identifiers, leading to binder errors.
This change ensures identifiers are quoted consistently and adds a
regression
test to cover the reported case.2 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
0 commit comments