soumyakanti3578 commented on code in PR #6673:
URL: https://github.com/apache/hive/pull/6673#discussion_r4050646262


##########
ql/src/test/results/clientpositive/jdbc/postgres/cbo_query51.q.out:
##########
@@ -0,0 +1,33 @@
+CBO PLAN:
+HiveSortLimit(sort0=[$0], sort1=[$1], dir0=[ASC], dir1=[ASC], fetch=[100])
+  HiveProject(y.item_sk=[$0], y.d_date=[$1], y.web_sales=[$2], 
y.store_sales=[$3], y.web_cumulative=[$4], y.store_cumulative=[$5])
+    HiveFilter(condition=[>($4, $5)])
+      HiveProject(item_sk=[CASE(IS NOT NULL($0), $0, $3)], d_date=[CASE(IS NOT 
NULL($1), $1, $4)], web_sales=[$2], store_sales=[$5], max_window_0=[max($2) 
OVER (PARTITION BY CASE(IS NOT NULL($0), $0, $3) ORDER BY CASE(IS NOT NULL($1), 
$1, $4) NULLS LAST ROWS UNBOUNDED PRECEDING)], max_window_1=[max($5) OVER 
(PARTITION BY CASE(IS NOT NULL($0), $0, $3) ORDER BY CASE(IS NOT NULL($1), $1, 
$4) NULLS LAST ROWS UNBOUNDED PRECEDING)])
+        HiveJoin(condition=[AND(=($0, $3), =($1, $4))], joinType=[full], 
algorithm=[none], cost=[not available])

Review Comment:
   This was blocked by the window function.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to