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
I think upstream sqlparser lib already support similar syntax
create table t (s struct<n int, s varchar>);
But only bigquery dialect support this syntax.
However in this PR where struct syntax is is added they also decided to support this syntax for both Bigquery and GenericDialect, and i think they forgot to add | GenericDialect for the column definition parsing logic here
Is your feature request related to a problem or challenge?
Currently we can build struct table like this
If we want to name them, we need to build with
named_struct
I hope we can build the struct table with pre-defined type and name
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
Similar to DuckDB
https://duckdb.org/docs/sql/data_types/struct#creating-structs-with-the-row-function
The text was updated successfully, but these errors were encountered: