cloud-fan commented on issue #21012: [SPARK-23890][SQL] Support CHANGE COLUMN 
to add nested fields to structs
URL: https://github.com/apache/spark/pull/21012#issuecomment-526192850
 
 
   it's only in master, and is only applicable to the data source v2 catalog. 
You can try
   ```
   SET spark.sql.catalog.cat1 = com.my.TheImplClass
   CREATE TABLE cat1.t ...
   ALTER TABLE cat1.t CHANGE COLUMN ...
   ```
   `TheImplClass` should implement `TableCatalog`. We will migrate the builtin 
hive catalog to use the new API in the future, so that we can remove 
`AlterTableChangeColumnCommand`.
   
   See the tests in `DataSourceV2SQLSuite`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to