Skip to content

Incorrect handling of column names #4166

@timvw

Description

@timvw

Describe the bug
Column name (casing) is not handled correctly.

To Reproduce
Have a (parquet) file with a column "featureValue". A simple "select * from alltypes_plain" returns

+------------+
| featureValue |
+------------+
| 0.0000 |

When running "select * from alltypes_plain where featureValue <> 0" gives an error:

Error: SchemaError(FieldNotFound { field: Column { relation: None, name: "featurevalue" }, valid_fields: Some(Column { relation: Some("alltypes_plain"), name: "featureValue" }]) })

Expected behavior
The column is correctly discovered as "featureValue" and not "featurevalue"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions