-
Notifications
You must be signed in to change notification settings - Fork 292
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 creating databases with options #3710
Comments
I'd like to have a try if it has not been assigned to someone yet or if someone has been already working on this then please let me know. When I am trying to implement this feature, some questions has arisen:
|
For example, the table options has been defined as a greptimedb/src/table/src/requests.rs Lines 68 to 78 in c4798d1
|
Sure, I'll assign to you when we get everything clear.
You can simply start with
I'd like the |
Currently I extends the The syntax is The PR is #3751. |
I'm also planning to implement displaying database options in Does the syntax need to be extended as Another approach is that the feature of displaying database options merely enhances Or both of them are required, if https://docs.greptime.com/reference/sql/information-schema/schemata#schemata
greptimedb/src/query/src/sql.rs Lines 140 to 165 in c4798d1
|
I think currently it would be enough to display database-specific options in |
Looks good to me. |
What problem does the new feature solve?
This feature request is the preparatory work of #3708
Currently GreptimeDB does not support creating databases with options. We need to support options in
CREATE DATABASE
statement.What does the feature do?
This feature involves 3 parts:
CREATE DATABASE
statement with options. The related code is:greptimedb/src/sql/src/parsers/create_parser.rs
Lines 107 to 127 in a52aede
greptimedb/src/common/meta/src/ddl/create_database.rs
Lines 87 to 106 in c4798d1
SHOW DATABASES
statementImplementation challenges
No response
The text was updated successfully, but these errors were encountered: