asolimando commented on code in PR #4303:
URL: https://github.com/apache/calcite/pull/4303#discussion_r2048393016
##########
core/src/main/java/org/apache/calcite/rel/rules/CoreRules.java:
##########
@@ -288,8 +290,16 @@ private CoreRules() {}
/** Rule that pushes a {@link LogicalFilter}
* past a {@link LogicalTableFunctionScan}. */
public static final FilterTableFunctionTransposeRule
- FILTER_TABLE_FUNCTION_TRANSPOSE =
- FilterTableFunctionTransposeRule.Config.DEFAULT.toRule();
+ LOGICAL_FILTER_LOGICAL_TABLE_FUNCTION_TRANSPOSE = Config.DEFAULT
+ .withOperandFor(LogicalFilter.class, LogicalTableFunctionScan.class)
Review Comment:
Thanks for the explanation @xiedeyantu, maybe @julianhyde can elaborate more
on this? I still don't get the rationale behind the request, I don't feel
strongly about it, it's more to understand better.
--
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]