kosiew commented on code in PR #14769: URL: https://github.com/apache/datafusion/pull/14769#discussion_r1968745726
########## datafusion/core/src/dataframe/mod.rs: ########## @@ -1926,6 +1930,71 @@ impl DataFrame { plan, }) } + + /// Fill null values in specified columns with a given value + /// If no columns are specified, applies to all columns + /// Only fills if the value can be cast to the column's type + /// + /// # Arguments + /// * `value` - Value to fill nulls with + /// * `columns` - Optional list of column names to fill. If None, fills all columns + pub fn fill_null( + &self, + value: ScalarValue, + columns: Option<Vec<String>>, Review Comment: Fixed. Thanks for spotting this. -- 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