Zihao Ye has uploaded this change for review. ( http://gerrit.cloudera.org:8080/21711
Change subject: [WIP]IMPALA-13320: Rewrite WITH clause by ExprWriter ...................................................................... [WIP]IMPALA-13320: Rewrite WITH clause by ExprWriter This patch adds the behavior of rewriting WITH clauses using the ExprRewriter. It includes handling both QueryStmt and InsertStmt, which may contain WITH clauses. The rewritten WITH clauses will be reset by the parent statement's reset() method and re-analyzed in the subsequent reAnalyze() step of the parent statement. Testing: - TODO Change-Id: I36c57486c3e7883694b4beaf71bf00d0f7649ffd --- M fe/src/main/java/org/apache/impala/analysis/InsertStmt.java M fe/src/main/java/org/apache/impala/analysis/QueryStmt.java M fe/src/main/java/org/apache/impala/analysis/SelectStmt.java M fe/src/main/java/org/apache/impala/analysis/SetOperationStmt.java M fe/src/main/java/org/apache/impala/analysis/WithClause.java 5 files changed, 16 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/11/21711/1 -- To view, visit http://gerrit.cloudera.org:8080/21711 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I36c57486c3e7883694b4beaf71bf00d0f7649ffd Gerrit-Change-Number: 21711 Gerrit-PatchSet: 1 Gerrit-Owner: Zihao Ye <[email protected]>
