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/04/26 19:46:38 UTC

[GitHub] [arrow-datafusion] alamb opened a new issue, #2347: Include `Expr` to prelude

alamb opened a new issue, #2347:
URL: https://github.com/apache/arrow-datafusion/issues/2347

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   
   The datafusion prelude includes many helpful functions for constructing `Expr`s such as `lit`, `col`, etc: https://github.com/apache/arrow-datafusion/blob/master/datafusion/core/src/prelude.rs
   
   I often find myself needing to `use Expr` as well, which for some reason is not included in the `prelude` but would be more convenient if it were. 
   
   **Describe the solution you'd like**
   add `Expr` to prelude so instead of 
   
   ```rust
   use datafusion::logical_plan::Expr;
   ```
   
   People can just do 
   
   ```rust
   use datafusion::prelude::*;
   ```
   
   or 
   
   ```rust
   use datafusion::prelude::Expr;
   ```
   
   **Describe alternatives you've considered**
   Not doing it
   
   


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] yjshen closed issue #2347: Include `Expr` to `datafusion::prelude`

Posted by GitBox <gi...@apache.org>.
yjshen closed issue #2347: Include `Expr` to `datafusion::prelude`
URL: https://github.com/apache/arrow-datafusion/issues/2347


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