You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Steve Carlin (Code Review)" <ge...@cloudera.org> on 2024/10/16 17:17:35 UTC

[Impala-ASF-CR] IMPALA-13455: Put expressions in CNF form for performance.

Steve Carlin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/21938


Change subject: IMPALA-13455: Put expressions in CNF form for performance.
......................................................................

IMPALA-13455: Put expressions in CNF form for performance.

The optimizer now runs a rule to put expressions in conjunctive
normal form.

This commit will allow tpcds and tpch tests to run through without
hanging, specifically queries 13 and 48.

Change-Id: Iceca22f3b2d2b59ab21591f21c07650bbd8efb3c
---
A java/calcite-planner/src/main/java/org/apache/impala/calcite/rules/ConvertToCNFRules.java
M java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteOptimizer.java
2 files changed, 161 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/38/21938/1
-- 
To view, visit http://gerrit.cloudera.org:8080/21938
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iceca22f3b2d2b59ab21591f21c07650bbd8efb3c
Gerrit-Change-Number: 21938
Gerrit-PatchSet: 1
Gerrit-Owner: Steve Carlin <sc...@cloudera.com>

[Impala-ASF-CR] IMPALA-13455: Put expressions in CNF form for performance.

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21938 )

Change subject: IMPALA-13455: Put expressions in CNF form for performance.
......................................................................


Patch Set 2:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/11041/ DRY_RUN=false


-- 
To view, visit http://gerrit.cloudera.org:8080/21938
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iceca22f3b2d2b59ab21591f21c07650bbd8efb3c
Gerrit-Change-Number: 21938
Gerrit-PatchSet: 2
Gerrit-Owner: Steve Carlin <sc...@cloudera.com>
Gerrit-Reviewer: Aman Sinha <am...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward (816)
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Thu, 17 Oct 2024 00:13:03 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13455: Put expressions in CNF form for performance.

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21938 )

Change subject: IMPALA-13455: Put expressions in CNF form for performance.
......................................................................


Patch Set 2: Code-Review+2


-- 
To view, visit http://gerrit.cloudera.org:8080/21938
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iceca22f3b2d2b59ab21591f21c07650bbd8efb3c
Gerrit-Change-Number: 21938
Gerrit-PatchSet: 2
Gerrit-Owner: Steve Carlin <sc...@cloudera.com>
Gerrit-Reviewer: Aman Sinha <am...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward (816)
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Thu, 17 Oct 2024 00:13:02 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13455: Put expressions in CNF form for performance.

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/21938 )

Change subject: IMPALA-13455: Put expressions in CNF form for performance.
......................................................................


Patch Set 1: Code-Review+2

This looks good to me


-- 
To view, visit http://gerrit.cloudera.org:8080/21938
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iceca22f3b2d2b59ab21591f21c07650bbd8efb3c
Gerrit-Change-Number: 21938
Gerrit-PatchSet: 1
Gerrit-Owner: Steve Carlin <sc...@cloudera.com>
Gerrit-Reviewer: Aman Sinha <am...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward (816)
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Thu, 17 Oct 2024 00:12:28 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13455: Put expressions in CNF form for performance.

Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/21938 )

Change subject: IMPALA-13455: Put expressions in CNF form for performance.
......................................................................

IMPALA-13455: Put expressions in CNF form for performance.

The optimizer now runs a rule to put expressions in conjunctive
normal form.

This commit will allow tpcds and tpch tests to run through without
hanging, specifically queries 13 and 48.

Change-Id: Iceca22f3b2d2b59ab21591f21c07650bbd8efb3c
Reviewed-on: http://gerrit.cloudera.org:8080/21938
Reviewed-by: Michael Smith <mi...@cloudera.com>
Tested-by: Michael Smith <mi...@cloudera.com>
---
A java/calcite-planner/src/main/java/org/apache/impala/calcite/rules/ConvertToCNFRules.java
M java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteOptimizer.java
2 files changed, 161 insertions(+), 1 deletion(-)

Approvals:
  Michael Smith: Looks good to me, approved; Verified

-- 
To view, visit http://gerrit.cloudera.org:8080/21938
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iceca22f3b2d2b59ab21591f21c07650bbd8efb3c
Gerrit-Change-Number: 21938
Gerrit-PatchSet: 4
Gerrit-Owner: Steve Carlin <sc...@cloudera.com>
Gerrit-Reviewer: Aman Sinha <am...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward (816)
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>

[Impala-ASF-CR] IMPALA-13455: Put expressions in CNF form for performance.

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21938 )

Change subject: IMPALA-13455: Put expressions in CNF form for performance.
......................................................................


Patch Set 1:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/17194/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/21938
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iceca22f3b2d2b59ab21591f21c07650bbd8efb3c
Gerrit-Change-Number: 21938
Gerrit-PatchSet: 1
Gerrit-Owner: Steve Carlin <sc...@cloudera.com>
Gerrit-Reviewer: Aman Sinha <am...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward (816)
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Wed, 16 Oct 2024 17:42:22 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13455: Put expressions in CNF form for performance.

Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/21938 )

Change subject: IMPALA-13455: Put expressions in CNF form for performance.
......................................................................


Patch Set 1: Code-Review+1


-- 
To view, visit http://gerrit.cloudera.org:8080/21938
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iceca22f3b2d2b59ab21591f21c07650bbd8efb3c
Gerrit-Change-Number: 21938
Gerrit-PatchSet: 1
Gerrit-Owner: Steve Carlin <sc...@cloudera.com>
Gerrit-Reviewer: Aman Sinha <am...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward (816)
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Wed, 16 Oct 2024 21:22:22 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13455: Put expressions in CNF form for performance.

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/21938 )

Change subject: IMPALA-13455: Put expressions in CNF form for performance.
......................................................................


Patch Set 2: Verified+1


-- 
To view, visit http://gerrit.cloudera.org:8080/21938
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iceca22f3b2d2b59ab21591f21c07650bbd8efb3c
Gerrit-Change-Number: 21938
Gerrit-PatchSet: 2
Gerrit-Owner: Steve Carlin <sc...@cloudera.com>
Gerrit-Reviewer: Aman Sinha <am...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward (816)
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Thu, 17 Oct 2024 05:26:45 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13455: Put expressions in CNF form for performance.

Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/21938 )

Change subject: IMPALA-13455: Put expressions in CNF form for performance.
......................................................................


Patch Set 3: Verified+1 Code-Review+2


-- 
To view, visit http://gerrit.cloudera.org:8080/21938
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iceca22f3b2d2b59ab21591f21c07650bbd8efb3c
Gerrit-Change-Number: 21938
Gerrit-PatchSet: 3
Gerrit-Owner: Steve Carlin <sc...@cloudera.com>
Gerrit-Reviewer: Aman Sinha <am...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward (816)
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Thu, 17 Oct 2024 15:54:20 +0000
Gerrit-HasComments: No