Commits


Mike Seddon authored and Andrew Lamb committed 81f65210273
ARROW-7364: [Rust][DataFusion] Add cast options to cast kernel and TRY_CAST to DataFusion @andygrove @alamb @nevi-me This is my WIP implementation of adding `CastOptions` to the Rust Kernel and changing the default `CastOptions` for DataFusion to be `safe = false`. From here we have two options: 1. use some sort of feature flag (like Spark) to set the default (see `spark.sql.ansi.enabled` [here](https://spark.apache.org/docs/latest/configuration.html#runtime-sql-configuration)). 2. add a `safe_cast` `expr` to do the same operation but override the default. Thoughts? Closes #9682 from seddonm1/safe-cast Lead-authored-by: Mike Seddon <seddonm1@gmail.com> Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org> Signed-off-by: Andrew Lamb <andrew@nerdnetworks.org>