Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
exchange jira numbers
Signed-off-by: DylanGuedes <[email protected]>
  • Loading branch information
DylanGuedes committed Aug 14, 2019
commit d7b1f7760eb2212dc09ef104ec5b24cf7a6d1c29
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ SELECT sum(salary) OVER w1, count(*) OVER w2
FROM empsalary WINDOW w1 AS (ORDER BY salary), w2 AS (ORDER BY salary);

-- subplan
-- [SPARK-28553] subqueries must be aggregated before hand
-- [SPARK-28379] Correlated scalar subqueries must be aggregated
-- SELECT lead(ten, (SELECT two FROM tenk1 WHERE s.unique2 = unique2)) OVER (PARTITION BY four ORDER BY ten)
-- FROM tenk1 s WHERE unique2 < 10;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1972,7 +1972,7 @@ struct<RANK() OVER (ORDER BY length(abc) ASC NULLS FIRST ROWS BETWEEN UNBOUNDED
-- !query 114
SELECT rank() OVER (ORDER BY rank() OVER (ORDER BY random()))
-- !query 114 schema
struct<RANK() OVER (ORDER BY RANK() OVER (ORDER BY rand(3938976620579571694) ASC NULLS FIRST ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) ASC NULLS FIRST ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW):int>
struct<RANK() OVER (ORDER BY RANK() OVER (ORDER BY rand(-1486367869311884492) ASC NULLS FIRST ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) ASC NULLS FIRST ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW):int>
-- !query 114 output
1

Expand Down