>From <[email protected]>:

Attention is currently required from: [email protected].
[email protected] has posted comments on this change. ( 
https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19489 )

Change subject: [ASTERIXDB-3571][COMP] Infer selection predicates from join 
predicates
......................................................................


Patch Set 9:

(4 comments)

File 
asterixdb/asterix-algebra/src/main/java/org/apache/asterix/optimizer/rules/cbo/JoinEnum.java:

https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19489/comment/c38277aa_a06ffed6
PS9, Line 300:         } else if (andExpr.getArguments().size() > 1) {
Why do we avoid using AND expressions in nested loop joins?


https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19489/comment/f937fb15_933deff4
PS9, Line 1269:     private void addTCpredicates(List<SelectOperator> 
existingSelOps) throws AlgebricksException {
Since there is already a function addTCPreds() that adds join transitive 
closures, consider renaming it to addTCSingleDatasetPredicates or a similar 
name for clarity.


https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19489/comment/5c1baa68_137ea207
PS9, Line 1356:     private boolean simpleCondition(ILogicalExpression 
condition) {
We don't require the operation to be EQ, right?


https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19489/comment/0d34dcec_60d2fba9
PS9, Line 1362:                 if (arg0.getValue() instanceof 
VariableReferenceExpression
you can use arg0.getValue().getExpressionTag() == VARIABLE && 
arg1.getValue()..getExpressionTag() == CONSTANT



--
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19489
To unsubscribe, or for help writing mail filters, visit 
https://asterix-gerrit.ics.uci.edu/settings

Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Change-Id: Iac01b5eba1b35d66e50d86205ddef05fb86c334a
Gerrit-Change-Number: 19489
Gerrit-PatchSet: 9
Gerrit-Owner: [email protected]
Gerrit-Reviewer: Anon. E. Moose #1000171
Gerrit-Reviewer: Jenkins <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-CC: Peeyush Gupta <[email protected]>
Gerrit-CC: [email protected]
Gerrit-Attention: [email protected]
Gerrit-Comment-Date: Tue, 11 Mar 2025 12:23:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment

Reply via email to