kosiew opened a new issue, #14765:
URL: https://github.com/apache/datafusion/issues/14765

   ### Is your feature request related to a problem or challenge?
   
   There is a common operation in libraries such as pyspark to fill nulls in an 
entire DataFrame (or to limit by columns). It would be nice to have a similar 
feature in datafusion and datafusion-python.
   
   ### Describe the solution you'd like
   
   If I have a dataframe with a bunch of null values in different columns, I 
would want to replace all nulls in those columns with the provided value IF it 
can be cast to the column's type. Otherwise no-op should happen. Also the user 
should be able to limit which columns this applies to.
   
   ### Describe alternatives you've considered
   
   Instead of having a built‑in fill_null or fill_nan, you can use conditional 
expressions or functions like coalesce (or nvl) to replace nulls or NaNs.
   
   ### Additional context
   
   This is a repost from https://github.com/apache/datafusion-python/issues/922


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