-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[multistage] Modify empty LogicalProject for window functions to have a literal #10635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7da37e4
446106f
ff52c20
7da4e62
6928711
be1d054
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,11 +51,53 @@ | |
| [768] | ||
| ] | ||
| }, | ||
| { | ||
| "description": "Single empty OVER() count(*) without select col", | ||
| "sql": "SELECT COUNT(*) OVER() FROM {tbl}", | ||
somandal marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "outputs": [ | ||
| [16], | ||
| [16], | ||
| [16], | ||
| [16], | ||
| [16], | ||
| [16], | ||
| [16], | ||
| [16], | ||
| [16], | ||
| [16], | ||
| [16], | ||
| [16], | ||
| [16], | ||
| [16], | ||
| [16], | ||
| [16] | ||
| ] | ||
| }, | ||
| { | ||
| "description": "Single empty OVER() count(*) without select col", | ||
| "sql": "SELECT 42, COUNT(*) OVER() FROM {tbl}", | ||
|
||
| "outputs": [ | ||
| [42, 16], | ||
| [42, 16], | ||
| [42, 16], | ||
| [42, 16], | ||
| [42, 16], | ||
| [42, 16], | ||
| [42, 16], | ||
| [42, 16], | ||
| [42, 16], | ||
| [42, 16], | ||
| [42, 16], | ||
| [42, 16], | ||
| [42, 16], | ||
| [42, 16], | ||
| [42, 16], | ||
| [42, 16] | ||
| ] | ||
| }, | ||
| { | ||
| "description": "Single empty OVER() row_number", | ||
| "sql": "SELECT ROW_NUMBER() OVER() FROM {tbl}", | ||
| "comments": "ROW_NUMBER() window function without any other columns in select or OVER or filter clauses fails as nothing is projected from the leaf", | ||
| "expectedException": "(?s)Received error query execution result block:.*", | ||
| "outputs": [ | ||
| [1], | ||
| [2], | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.