You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/10/07 15:48:12 UTC

[GitHub] [arrow-datafusion] alamb commented on pull request #3700: Fix `DataFrame::with_column` to handle creating column names with a period

alamb commented on PR #3700:
URL: https://github.com/apache/arrow-datafusion/pull/3700#issuecomment-1271763519

   > col("f.c").eq(lit(10));
   
   You can't use `col` with a qualified name (with a `'.'`)
   
   Does it work if you use 
   
   ```rust
    Expr::Column(Column {
                           relation: None,
                           name: "f.c".into(),
                       })
   ```
   
   instead of `col("f.c:)`
   
   ?
   
   
   If so we should probably offer an alternate to `col` that doesn't try and parse the relation that is not as wordy 🤔 
   
   


-- 
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