You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#451 implemented support for CREATE DATABASE queries.
It includes two tests for the query.
Statement::CreateDatabase has two additional fields: location and managed_location. The syntax for these is not detailed; neither in the PR, nor anywhere else I can find.
@KyGost hey! I'm a new maintainer of SQL-parser (see #808), but I'd like to apologize for the huge delay. I'm catching up on old issues/PRs in my first three weeks, so I can start discussing/helping with syntax expansions again.
You're entirely correct. For your interest, I could find the PR that this was implemented (#235), and the syntax is from Hive SQL (check apache docs).
I'll add some comments regarding the syntax and the specificity of the syntax. Thanks for noting this!
Activity
KyGost commentedon Apr 4, 2022
Looking at the parser one can see that the syntax is:
CREATE DATABASE [database] LOCATION '[location]'AugustoFKL commentedon Feb 25, 2023
@KyGost hey! I'm a new maintainer of SQL-parser (see #808), but I'd like to apologize for the huge delay. I'm catching up on old issues/PRs in my first three weeks, so I can start discussing/helping with syntax expansions again.
You're entirely correct. For your interest, I could find the PR that this was implemented (#235), and the syntax is from Hive SQL (check apache docs).
I'll add some comments regarding the syntax and the specificity of the syntax. Thanks for noting this!