jfahne commented on issue #16017: URL: https://github.com/apache/datafusion/issues/16017#issuecomment-2887737240
I figured it out! The error is coming from here in the call to the `describe(...)` method ([link to line 937 of mod.rs](https://github.com/apache/datafusion/blob/main/datafusion/core/src/dataframe/mod.rs#L937)). The `col(f.name())` call is passing the string `"CoLu.Mn1"` to `col` which is defined here ([link to line 65 of expr_fn.rs](https://github.com/apache/datafusion/blob/main/datafusion/expr/src/expr_fn.rs#L65)). `col` implicitly normalizes the identifier. Using a `format!` macro, I can pass in the identifier with escaped quotes which leads to the expected behavior. I'll clean it up and submit a PR. -- 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 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