chitralverma commented on issue #2043: URL: https://github.com/apache/arrow-datafusion/issues/2043#issuecomment-1521536997
@Ted-Jiang based on https://github.com/apache/arrow-datafusion/pull/2389 and [this](https://arrow.apache.org/datafusion/user-guide/sql/scalar_functions.html#struct) I was wondering what all is possible to create struct columns in datafusion SQL. for example I was trying to do something like the below but its broke, ``` select struct(a,b,c) from table Failed to execute query: Arrow error: Invalid argument error: column types must match schema types, expected Struct([]) but found Struct([Field { name: \"c0\", data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: None }]) at column index 0" ``` -- 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]
