You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by AsterixDB Code Review <do...@asterix-gerrit.ics.uci.edu> on 2023/01/25 17:51:23 UTC

Change in asterixdb[neo]: [NO ISSUE][COMP] Optimize pushing assign ops down

From Ali Alsuliman <al...@gmail.com>:

Attention is currently required from: Ali Alsuliman.
Hello Jenkins, Anon. E. Moose #1000171, 

I'd like you to reexamine a change. Please visit

    https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17316

to look at the new patch set (#2).

Change subject: [NO ISSUE][COMP] Optimize pushing assign ops down
......................................................................

[NO ISSUE][COMP] Optimize pushing assign ops down

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
One of the things that PushFieldAccessRule attempts to do is
push assign operator down as close as possible to the respective
data scan operator. The assign operator is pushed recursively
through the operators below it one by one until the data scan is
reached. This becomes expensive when there is a large number
of assigns. In the case where all the operators below the assign
operator are other assign operators, the assign operator
could be moved directly above the data-scan skipping all
the intermediate assign operators.

Change-Id: I035b72089f973bb08dccf5f9305f8b06da7fc458
---
M asterixdb/asterix-algebra/src/main/java/org/apache/asterix/optimizer/rules/PushFieldAccessRule.java
1 file changed, 174 insertions(+), 87 deletions(-)


  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/16/17316/2
-- 
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17316
To unsubscribe, or for help writing mail filters, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-Project: asterixdb
Gerrit-Branch: neo
Gerrit-Change-Id: I035b72089f973bb08dccf5f9305f8b06da7fc458
Gerrit-Change-Number: 17316
Gerrit-PatchSet: 2
Gerrit-Owner: Ali Alsuliman <al...@gmail.com>
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-Attention: Ali Alsuliman <al...@gmail.com>
Gerrit-MessageType: newpatchset