LakeShen commented on code in PR #3410:
URL: https://github.com/apache/calcite/pull/3410#discussion_r1337039978
##########
core/src/main/java/org/apache/calcite/rel/rules/CoreRules.java:
##########
@@ -745,6 +746,10 @@ private CoreRules() {}
public static final UnionToDistinctRule UNION_TO_DISTINCT =
UnionToDistinctRule.Config.DEFAULT.toRule();
+ /** Rule that rewrite {@link Sample} which is bernoulli to the {@link
Filter}. */
+ public static final RewriteSampleToFilterRule SAMPLE_TO_FILTER =
Review Comment:
yes,It makes sense for me, I will take it.
--
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]