You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "marvinlanhenke (via GitHub)" <gi...@apache.org> on 2023/12/28 06:18:32 UTC
Re: [I] Cannot find the fields when making an aggregation on parquet file. [arrow-datafusion]
marvinlanhenke commented on issue #8660:
URL: https://github.com/apache/arrow-datafusion/issues/8660#issuecomment-1870860964
@VungleTienan
You simply need to use raw strings in order to prevent the normalizing of the column names.
```rust
let df = df
.select_columns(&["FL_DATE", "DEP_DELAY"])?
.aggregate(vec![col(r#""FL_DATE""#)], vec![sum(col(r#""DEP_DELAY""#))])?;
```
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org