alamb commented on code in PR #23638:
URL: https://github.com/apache/datafusion/pull/23638#discussion_r3647732304
##########
datafusion/datasource-parquet/src/projection_read_plan.rs:
##########
@@ -313,8 +314,10 @@ impl TreeNodeVisitor<'_> for PushdownChecker<'_> {
return Ok(recursion);
}
- if
ScalarFunctionExpr::try_downcast_func::<FileRowIndexFunc>(node.as_ref())
+ if
ScalarFunctionExpr::try_downcast_func::<InputFileNameFunc>(node.as_ref())
Review Comment:
As a follow on, it might be nice to hoist this into a method on
ScalarUDFImpl to avoid having the special cases here
--
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]