vbarua opened a new issue, #13419: URL: https://github.com/apache/datafusion/issues/13419
### Is your feature request related to a problem or challenge? The Substrait [Cast Expression](https://github.com/substrait-io/substrait/blob/e3a7773895f4121deb6904b79efbcd76c656c9e8/proto/substrait/algebra.proto#L1285-L1295) contains a field to specify whether the cast should return null if it fails (TRY CAST) or throw an error if it fails (CAST). The current Substrait consumer and producers do not set this field. ### Describe the solution you'd like The `failure_behavior` field should be set to allow encoding `CAST` and TRY_CAST` correctly. ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- 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