-
Notifications
You must be signed in to change notification settings - Fork 25.7k
SQL: Add PIVOT support #46489
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
SQL: Add PIVOT support #46489
Changes from 1 commit
84cee40
a0caa34
48c6a83
3f356ba
7af8f37
d28984a
d668751
854d09c
2606f36
7bbe026
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 |
|---|---|---|
|
|
@@ -203,18 +203,4 @@ null |31070.0 | |
| 3 |26830.0 | ||
| 4 |24646.0 | ||
| 5 |23353.0 | ||
| ; | ||
|
|
||
| innerAggPivot | ||
|
||
| schema::languages:bt|'F':d | ||
| SELECT * FROM (SELECT gender, salary, languages FROM test_emp) PIVOT (SUM_OF_SQUARES(salary) FOR gender IN ('M', 'F')); | ||
|
|
||
| languages | 'F' | ||
| ---------------+--------------- | ||
| null |31070.0 | ||
| 1 |23537.0 | ||
| 2 |25342.0 | ||
| 3 |26830.0 | ||
| 4 |24646.0 | ||
| 5 |23353.0 | ||
| ; | ||
| ; | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file shouldn't be here - I'll remove it on the next commit once the feedback lands to avoid an extra build.