alamb commented on issue #5016: URL: https://github.com/apache/arrow-datafusion/issues/5016#issuecomment-1401814324
> It would be also interesting to support "custom" types in CREATE TABLE statements. This would help to migrate tests like this one https://github.com/apache/arrow-datafusion/blob/master/datafusion/core/tests/sql/aggregates.rs#L913-L976 to sqllogictest. I was thinking we could use `CREATE TABLE ... AS SELECT ...` which creates columns based on the types of the SELECT query So I think we could make a int8 column in a table like ``` CREATE TABLE foo as select arrow_cast(c', 'Int8') as c_int8 from foo ``` -- 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]
