mooreniemi opened a new issue #2101:
URL: https://github.com/apache/arrow-datafusion/issues/2101


   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   Coming from Spark, Pandas, and Polars, I am used to being able to do 
`with_column` and/or `apply` using a `udf` to add columns to my dataframes. 
[Here's an example of doing that using Polars 
`DataFrame`](https://github.com/mooreniemi/parq/blob/main/examples/polars_w_col_lazy.rs#L16).
   
   I may be misunderstanding how it can be accomplished with Datafusion or the 
Datafusion goals, but I can't find a way to do this so far. I know udfs are 
supported, and can be used in sql queries, but 
[DataFrame](https://docs.rs/datafusion/latest/datafusion/dataframe/trait.DataFrame.html)
 doesn't seem to have anything like `apply` or `with_column`.
   
   Is this outside the roadmap of Datafusion or have I misunderstood available 
methods?


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

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


Reply via email to