findepi commented on code in PR #16082: URL: https://github.com/apache/datafusion/pull/16082#discussion_r2095355262
########## datafusion/core/src/dataframe/mod.rs: ########## @@ -977,7 +977,7 @@ impl DataFrame { .filter(|f| { !matches!(f.data_type(), DataType::Binary | DataType::Boolean) }) - .map(|f| min(col(f.name())).alias(f.name())) + .map(|f| min(col(format!("\"{}\"", f.name()))).alias(f.name())) Review Comment: what if f.name() contains `"` itself? should we use some format ident function? -- 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