fangyu....@cloudera.com has uploaded this change for review. ( http://gerrit.cloudera.org:8080/12819
Change subject: IMPALA-4865: Reject Expr Rewrite When Appropriate ...................................................................... IMPALA-4865: Reject Expr Rewrite When Appropriate Avoided rewrite if the resulting string literal exceeds a defined limit. Testing: Added two statements in testFoldConstantsRule() to verify that the expression rewrite is accepted only when the size of the rewritten expression is below a specified threshold. Change-Id: I8265cd3705b8f8ee66d0fd94434e03c7acff7632 --- M fe/src/main/java/org/apache/impala/rewrite/FoldConstantsRule.java M fe/src/test/java/org/apache/impala/analysis/ExprRewriteRulesTest.java 2 files changed, 12 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/19/12819/1 -- To view, visit http://gerrit.cloudera.org:8080/12819 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I8265cd3705b8f8ee66d0fd94434e03c7acff7632 Gerrit-Change-Number: 12819 Gerrit-PatchSet: 1 Gerrit-Owner: Anonymous Coward <fangyu....@cloudera.com> Gerrit-Reviewer: Anonymous Coward <fangyu....@cloudera.com> Gerrit-Reviewer: Paul Rogers <prog...@cloudera.com>