ion-elgreco opened a new pull request, #916:
URL: https://github.com/apache/datafusion-python/pull/916

   # Which issue does this PR close?
   - related https://github.com/apache/datafusion-python/issues/875
   
    # Rationale for this change
   A top level cast is very practical and a common practice to do, since it's 
just a projection of columns, we call with_columns underneath. Therefore it 
builds on top of: https://github.com/apache/datafusion-python/pull/909,  so 
that one needs to be merged first.
   
   # What changes are included in this PR?
   - adds a `cast` method which takes in a mapping of col_names and dtypes. 
   
   Important: I am going to work soon on creating a datafusion-python native 
schema struct and classes. Because going to pyarrow is simply to painful :) and 
then we can also drop the pyarrow dependency for that part
   
   # Are there any user-facing changes?
   - adds new method.


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

Reply via email to