apache / apache/datafusion-sqlparser-rs

`CREATE DATABASE` location

Open
#453 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
3.5k
Forks
772
Avg merge
4d 9h
Merged PRs (30d)
17

Description

#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.

1. Perhaps this could be detailed in the docs
2. Perhaps tests could be added for these fields
3. What is the syntax for these fields?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing PR #451 and the two existing CREATE DATABASE tests, then inspect Statement::CreateDatabase, including its location and managed_location fields. Establish the syntax for both fields and document it, adding tests that cover the syntax so the behavior is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, sql
Domain
databases
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.