[Impala-ASF-CR] IMPALA-9866: Query plan debug page stuck in fetch and render loop.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/16092 ) Change subject: IMPALA-9866: Query plan debug page stuck in fetch and render loop. .. Patch Set 3: Verified+1 -- To view, visit http://gerrit.cloudera.org:8080/16092 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ie1f233c90d5f221813833af2e29be2250936d442 Gerrit-Change-Number: 16092 Gerrit-PatchSet: 3 Gerrit-Owner: Shant Hovsepian Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Shant Hovsepian Gerrit-Reviewer: Tim Armstrong Gerrit-Comment-Date: Tue, 23 Jun 2020 02:42:36 + Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-9866: Query plan debug page stuck in fetch and render loop.
Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/16092 ) Change subject: IMPALA-9866: Query plan debug page stuck in fetch and render loop. .. IMPALA-9866: Query plan debug page stuck in fetch and render loop. Once a query is completed we stop fetching and rendering the plan. This speeds interaction with large query plans in the web browser as well as reduces some load on the query coordinator. Change-Id: Ie1f233c90d5f221813833af2e29be2250936d442 Reviewed-on: http://gerrit.cloudera.org:8080/16092 Reviewed-by: Impala Public Jenkins Tested-by: Impala Public Jenkins --- M be/src/service/impala-http-handler.cc M www/query_plan.tmpl 2 files changed, 8 insertions(+), 2 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/16092 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ie1f233c90d5f221813833af2e29be2250936d442 Gerrit-Change-Number: 16092 Gerrit-PatchSet: 4 Gerrit-Owner: Shant Hovsepian Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Shant Hovsepian Gerrit-Reviewer: Tim Armstrong
[Impala-ASF-CR] IMPALA-9878: Fix use-after-free in TmpFileMgrTest's TestAllocation
Joe McDonnell has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/16099 ) Change subject: IMPALA-9878: Fix use-after-free in TmpFileMgrTest's TestAllocation .. IMPALA-9878: Fix use-after-free in TmpFileMgrTest's TestAllocation ASAN found a use-after-free for the in this code: file_group.Close(); <--- free underlying storage for 'file' EXPECT_FALSE(boost::filesystem::exists(file->path())); <-- use 'file' This switches it to a copy of file->path(). Testing: - Ran tmp-file-mgr-test under ASAN Change-Id: Idd5cbae70c287c78db8d1c560d8c777d6bed5b56 Reviewed-on: http://gerrit.cloudera.org:8080/16099 Reviewed-by: Tim Armstrong Tested-by: Impala Public Jenkins --- M be/src/runtime/tmp-file-mgr-test.cc 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Tim Armstrong: Looks good to me, approved Impala Public Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/16099 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Idd5cbae70c287c78db8d1c560d8c777d6bed5b56 Gerrit-Change-Number: 16099 Gerrit-PatchSet: 2 Gerrit-Owner: Joe McDonnell Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Joe McDonnell Gerrit-Reviewer: Tim Armstrong
[Impala-ASF-CR] IMPALA-9878: Fix use-after-free in TmpFileMgrTest's TestAllocation
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/16099 ) Change subject: IMPALA-9878: Fix use-after-free in TmpFileMgrTest's TestAllocation .. Patch Set 1: Verified+1 -- To view, visit http://gerrit.cloudera.org:8080/16099 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Idd5cbae70c287c78db8d1c560d8c777d6bed5b56 Gerrit-Change-Number: 16099 Gerrit-PatchSet: 1 Gerrit-Owner: Joe McDonnell Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Tim Armstrong Gerrit-Comment-Date: Mon, 22 Jun 2020 22:06:41 + Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-9866: Query plan debug page stuck in fetch and render loop.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/16092 ) Change subject: IMPALA-9866: Query plan debug page stuck in fetch and render loop. .. Patch Set 3: Code-Review+2 -- To view, visit http://gerrit.cloudera.org:8080/16092 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ie1f233c90d5f221813833af2e29be2250936d442 Gerrit-Change-Number: 16092 Gerrit-PatchSet: 3 Gerrit-Owner: Shant Hovsepian Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Shant Hovsepian Gerrit-Reviewer: Tim Armstrong Gerrit-Comment-Date: Mon, 22 Jun 2020 21:46:30 + Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-9866: Query plan debug page stuck in fetch and render loop.
Tim Armstrong has posted comments on this change. ( http://gerrit.cloudera.org:8080/16092 ) Change subject: IMPALA-9866: Query plan debug page stuck in fetch and render loop. .. Patch Set 2: Code-Review+2 -- To view, visit http://gerrit.cloudera.org:8080/16092 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ie1f233c90d5f221813833af2e29be2250936d442 Gerrit-Change-Number: 16092 Gerrit-PatchSet: 2 Gerrit-Owner: Shant Hovsepian Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Shant Hovsepian Gerrit-Reviewer: Tim Armstrong Gerrit-Comment-Date: Mon, 22 Jun 2020 21:46:12 + Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-9866: Query plan debug page stuck in fetch and render loop.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/16092 ) Change subject: IMPALA-9866: Query plan debug page stuck in fetch and render loop. .. Patch Set 3: Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/6035/ DRY_RUN=false -- To view, visit http://gerrit.cloudera.org:8080/16092 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ie1f233c90d5f221813833af2e29be2250936d442 Gerrit-Change-Number: 16092 Gerrit-PatchSet: 3 Gerrit-Owner: Shant Hovsepian Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Shant Hovsepian Gerrit-Reviewer: Tim Armstrong Gerrit-Comment-Date: Mon, 22 Jun 2020 21:46:31 + Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-452: Add support for string concatenation operator using ||
Tim Armstrong has posted comments on this change. ( http://gerrit.cloudera.org:8080/15877 ) Change subject: IMPALA-452: Add support for string concatenation operator using || .. Patch Set 12: Code-Review+2 -- To view, visit http://gerrit.cloudera.org:8080/15877 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ie3f990d56ecb1e18d1b2737e8c5eab0d524edfaf Gerrit-Change-Number: 15877 Gerrit-PatchSet: 12 Gerrit-Owner: Martin Zink Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Martin Zink Gerrit-Reviewer: Tim Armstrong Gerrit-Comment-Date: Mon, 22 Jun 2020 21:36:08 + Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-452: Add support for string concatenation operator using ||
Tim Armstrong has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/15877 ) Change subject: IMPALA-452: Add support for string concatenation operator using || .. IMPALA-452: Add support for string concatenation operator using || Separated "||" and "OR" into different tokens. OR (KW_OR) remains the same. (it creates CompoundPredicate and expects two BOOLEAN operands) || (KW_LOGICAL_OR) creates CompoundVerticalBarExpr which expects two BOOLEAN operands or two STRING operands CompoundVerticalBarExpr creates either a CompoundPredicate or a FunctionCallExpr member variable based on the type of the left operand during analyze. Similarly to BetweenPredicate it cannot be executed directly so its needs to be replaced by its member variable by ExtractCompoundVerticalBarExprRule. Change-Id: Ie3f990d56ecb1e18d1b2737e8c5eab0d524edfaf Reviewed-on: http://gerrit.cloudera.org:8080/15877 Tested-by: Impala Public Jenkins Reviewed-by: Tim Armstrong --- M be/src/exprs/expr-test.cc M fe/src/main/cup/sql-parser.cup M fe/src/main/java/org/apache/impala/analysis/Analyzer.java A fe/src/main/java/org/apache/impala/analysis/CompoundVerticalBarExpr.java A fe/src/main/java/org/apache/impala/rewrite/ExtractCompoundVerticalBarExprRule.java M fe/src/main/jflex/sql-scanner.flex M fe/src/test/java/org/apache/impala/analysis/AnalyzeStmtsTest.java M fe/src/test/java/org/apache/impala/analysis/ExprRewriteRulesTest.java M fe/src/test/java/org/apache/impala/analysis/ExprRewriterTest.java M fe/src/test/java/org/apache/impala/analysis/ParserTest.java M fe/src/test/java/org/apache/impala/analysis/ToSqlTest.java M testdata/workloads/functional-query/queries/QueryTest/exprs.test 12 files changed, 416 insertions(+), 7 deletions(-) Approvals: Impala Public Jenkins: Verified Tim Armstrong: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/15877 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ie3f990d56ecb1e18d1b2737e8c5eab0d524edfaf Gerrit-Change-Number: 15877 Gerrit-PatchSet: 13 Gerrit-Owner: Martin Zink Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Martin Zink Gerrit-Reviewer: Tim Armstrong
[Impala-ASF-CR] IMPALA-9744: Treat corrupt table stats as missing to avoid bad plans
Sahil Takiar has posted comments on this change. ( http://gerrit.cloudera.org:8080/16098 ) Change subject: IMPALA-9744: Treat corrupt table stats as missing to avoid bad plans .. Patch Set 6: (5 comments) adding Tim to the review as well http://gerrit.cloudera.org:8080/#/c/16098/6/fe/src/main/java/org/apache/impala/planner/HdfsScanNode.java File fe/src/main/java/org/apache/impala/planner/HdfsScanNode.java: http://gerrit.cloudera.org:8080/#/c/16098/6/fe/src/main/java/org/apache/impala/planner/HdfsScanNode.java@1218 PS6, Line 1218: if (numRows < -1 || (numRows == 0 && tbl_.getTotalHdfsBytes() > 0)) { : hasCorruptTableStats_ = true; : } : return numRows; what about for unpartitioned tables? it looks like if the table stats are corrupted, and numRows == 0, we still return numRows = 0 from this method. would be good to add a test case for unpartitioned tables as well. http://gerrit.cloudera.org:8080/#/c/16098/6/testdata/data/alltypes_parquet_year2009_month01.parquet File testdata/data/alltypes_parquet_year2009_month01.parquet: http://gerrit.cloudera.org:8080/#/c/16098/6/testdata/data/alltypes_parquet_year2009_month01.parquet@1 PS6, Line 1: PAR1°ºLì Ø ô×a b c d e f g h i j k l m n o p q r s N O P Q R S T U V W X Y Z [ \ ] ^ _ ` t u v w x y z { | } ~ ! " # $ % &