niebayes opened a new issue, #16914: URL: https://github.com/apache/datafusion/issues/16914
We recently encountered a bug caused by our misuse of the `datafusion::logical_expr::col` helper function, which does not preserve the case of the column name. We’re aware that `Column::from_name` and `Column::from_qualified_name_ignore_case` are available for creating Column instances while preserving or explicitly ignoring case. Given this, would it make sense to introduce a helper function such as `col_case_preserved` (or a better name) to create Column expressions with case sensitivity preserved by default? Alternatively, we could consider modifying the existing col function to accept an additional parameter, such as `ignore_case`, to give users control over case sensitivity directly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org