Skip to content
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

Support for Databricks UNPIVOT Options #2020

Closed
aersam opened this issue Aug 10, 2023 · 0 comments · Fixed by #2021
Closed

Support for Databricks UNPIVOT Options #2020

aersam opened this issue Aug 10, 2023 · 0 comments · Fixed by #2021

Comments

@aersam
Copy link
Contributor

aersam commented Aug 10, 2023

Databricks dialect does not support the Option INCLUDE NULLS/EXCLUDE NULLS: https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-qry-select-unpivot.html

sample sql:

select id
    , level
    , conditions
  FROM bla.table_name UNPIVOT INCLUDE NULLS
  (conditions FOR level IN (KONTR1
                            ,KONTR2
                            ,KONTR3
                            ,KONTR4))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant