morrySnow commented on code in PR #21326:
URL: https://github.com/apache/doris/pull/21326#discussion_r1251405091
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/expression/ExpressionRewriteContext.java:
##########
@@ -18,14 +18,33 @@
package org.apache.doris.nereids.rules.expression;
import org.apache.doris.nereids.CascadesContext;
+import org.apache.doris.nereids.trees.expressions.NamedExpression;
+import org.apache.doris.nereids.trees.expressions.literal.Literal;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Set;
/**
* expression rewrite context.
*/
public class ExpressionRewriteContext {
+
public final CascadesContext cascadesContext;
+ public Map<NamedExpression, Set<Literal>> slotNameToLiteral = new
HashMap<>();
Review Comment:
not add rule sepcific attr to this context
--
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]