gstvg commented on code in PR #21679:
URL: https://github.com/apache/datafusion/pull/21679#discussion_r3098232846


##########
datafusion/catalog-listing/src/helpers.rs:
##########
@@ -97,6 +99,16 @@ pub fn expr_applicable_for_cols(col_names: &[&str], expr: 
&Expr) -> bool {
                 }
             }
         }
+        Expr::HigherOrderFunction(hof) => {
+            match hof.func.signature().volatility {
+                Volatility::Immutable => Ok(TreeNodeRecursion::Continue),
+                // TODO: Stable functions could be `applicable`, but that 
would require access to the context

Review Comment:
   Done at 
https://github.com/apache/datafusion/pull/21679/commits/27fcc8e8c25e95289959dc865a1e8a3ab7678b55,
 https://github.com/apache/datafusion/issues/21690, thanks



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

Reply via email to