alamb opened a new issue, #9820: URL: https://github.com/apache/arrow-datafusion/issues/9820
### 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 ```sql SELECT {'yes': 'duck', 'maybe': 'goose', 'huh': NULL, 'no': 'heron'}; ``` ### 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 https://github.com/apache/arrow-datafusion/pull/9743 @jayzhan211 filed https://github.com/sqlparser-rs/sqlparser-rs/pull/1194 for the upstream sqlparser support -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
