If you want transformations which actually change the output of the
query, you probably just want to change the RelNode directly.
RelOptRules are expected to preserve the semantics of the query so you
shouldn't do things such as adding new fields or changing the
collation. You can still run the opt
Hello,
There is a overall task to pushdown an expression from outer select to
nested project (if it has all required dependent fields).
For replace purpose were selected RelOptRule, but when I try to replace
project with a newProject that has on 1 expression more - validation fails:
java.lang.As