edgarRd commented on issue #25206: [SPARK-28265][SQL] Add renameTable to 
TableCatalog API
URL: https://github.com/apache/spark/pull/25206#issuecomment-516631551
 
 
   Just to be clear here, @cloud-fan, as mentioned before something like:
   ```sql
   ALTER TABLE cat.db.table RENAME TO db.table2
   ```
   Would still fail, since the catalog is not the same and I don't think we 
should imply it; this can be in the SQL operation implementation. However, to 
@rdblue's point if the catalog support renames across DBs I don't see why Spark 
should block it either, other than existing behavior which I don't think this 
change would affect either if the catalog does not support such operation.

----------------------------------------------------------------
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