-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 explicit type and name during table creation #10273
Conversation
Cargo.toml
Outdated
@@ -103,7 +103,7 @@ parquet = { version = "51.0.0", default-features = false, features = ["arrow", " | |||
rand = "0.8" | |||
rstest = "0.19.0" | |||
serde_json = "1" | |||
sqlparser = { version = "0.45.0", features = ["visitor"] } | |||
sqlparser = { git = "https://github.com/duongcongtoai/sqlparser-rs", rev = "62f1e02f4a7d5160e8538b34f30e311905b4a72a", features = ["visitor"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
temp commithash
waiting for sql-parser upgrade in this PR: #10392 |
hi @jayzhan211 the PR is ready for review, but the syntax is bigquery-liked. Do you need the syntax of duckdb to complete this issue? |
It would be nice to support DuckDB-like syntax, aligning with PostgreSQL and DuckDB conventions unless a better alternative is available. |
ok, i'm working on it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution @duongcongtoai -- this looks great to me 🙏
|
||
# named and named less struct fields | ||
statement ok | ||
CREATE TABLE struct_values ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
* temp cargo commit * chore: update test * fmt * update cli cargo lock
Which issue does this PR close?
Closes #10207 .
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?