-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem or challenge?
I want to construct struct from literal or expression by using sql or rust interface.
like:
- https://docs.databricks.com/sql/language-manual/functions/named_struct.html
- https://duckdb.org/docs/sql/data_types/struct.html
- https://www.postgresql.org/docs/current/sql-expressions.html#SQL-SYNTAX-ROW-CONSTRUCTORS
Describe the solution you'd like
Add a NamedStruct expression similar to what spark does
sql usage:
SELECT named_struct('a', 1, 'b', 2, 'c', 3);Describe alternatives you've considered
No response
Additional context
If this issue is useful, I will implement it
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request