[
https://issues.apache.org/jira/browse/TRAFODION-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15655226#comment-15655226
]
ASF GitHub Bot commented on TRAFODION-1562:
-------------------------------------------
Github user zellerh commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/826#discussion_r87490585
--- Diff: core/sql/optimizer/BindRelExpr.cpp ---
@@ -2436,6 +2437,32 @@ Scan *RelExpr::getLeftmostScanNode() const
return (Scan *)result;
}
+
+
+Join * RelExpr::getLeftJoinChild() const
+{
+ RelExpr *result = (RelExpr *)this;
+
+ while(result)
+ {
+ if (result->getOperatorType() == REL_LEFT_JOIN) break;
+ result = result->child(0);
+ }
+ return (Join *)result;
+}
+
+RelSequence* RelExpr::getOlapChild() const
--- End diff --
I think commented-out code is something people don't like. I would leave it
or delete it.
> Changes in query tree when the upsert command is transformed into merge
> -----------------------------------------------------------------------
>
> Key: TRAFODION-1562
> URL: https://issues.apache.org/jira/browse/TRAFODION-1562
> Project: Apache Trafodion
> Issue Type: Sub-task
> Components: sql-cmp
> Reporter: Selvaganesan Govindarajan
> Assignee: Sandhya Sundaresan
> Attachments: BatchUpsertTransformation.pdf
>
>
> to improve the performance as explained in the main JIRA
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)