We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To make it easier to use structs with DataFusion, having a nicer literal syntax is useful
It would be nice to support duckdb style struct syntax:
https://duckdb.org/docs/sql/data_types/struct
SELECT {'yes': 'duck', 'maybe': 'goose', 'huh': NULL, 'no': 'heron'};
One way to support this feature would be to implement some Expr variant for the struct literal,
Expr
@gstein is adding named_struct in this function #9743
named_struct
@jayzhan211 filed apache/datafusion-sqlparser-rs#1194 for the upstream sqlparser support
The text was updated successfully, but these errors were encountered:
Struct
List
ListArray
jayzhan211
Successfully merging a pull request may close this issue.
Is your feature request related to a problem or challenge?
To make it easier to use structs with DataFusion, having a nicer literal syntax is useful
Describe the solution you'd like
It would be nice to support duckdb style struct syntax:
https://duckdb.org/docs/sql/data_types/struct
Describe alternatives you've considered
One way to support this feature would be to implement some
Expr
variant for the struct literal,Additional context
@gstein is adding
named_struct
in this function #9743@jayzhan211 filed apache/datafusion-sqlparser-rs#1194 for the upstream sqlparser support
The text was updated successfully, but these errors were encountered: