We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
UNPIVOT
Could we add support for UNPIVOT in order to be able to generate a query such as
SELECT a, metric, value FROM your_table UNPIVOT( value FOR metric IN (m1, m2, m3, m4) )
I think implementation should be similar to a the GROUP_BY statement where this
GROUP_BY
Query._from("your_table").select( Field("a"), Field("metric"), Field("vaslue") ).unpivot(Field("value"), "metric", (table.m1, table.m2, table.m3, table.m4)
would generate
The text was updated successfully, but these errors were encountered:
I am happy to work on it
Sorry, something went wrong.
No branches or pull requests
Could we add support for
UNPIVOT
in order to be able to generate a query such asI think implementation should be similar to a the
GROUP_BY
statementwhere this
would generate
The text was updated successfully, but these errors were encountered: