davidlghellin commented on code in PR #22248:
URL: https://github.com/apache/datafusion/pull/22248#discussion_r3252985647
##########
datafusion/physical-expr/src/intervals/utils.rs:
##########
@@ -56,6 +57,12 @@ pub fn check_support(expr: &Arc<dyn PhysicalExpr>, schema:
&SchemaRef) -> bool {
check_support(cast.expr(), schema)
} else if let Some(negative) = expr.downcast_ref::<NegativeExpr>() {
check_support(negative.arg(), schema)
+ } else if let Some(scalar_fn) = expr.downcast_ref::<ScalarFunctionExpr>() {
+ is_datatype_supported(scalar_fn.return_type())
+ && scalar_fn
+ .args()
+ .iter()
+ .all(|arg| check_support(arg, schema))
Review Comment:
Fixed — added Volatility::Immutable gate in the latest push.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]