cloud-fan commented on issue #25206: [SPARK-28265][SQL] Add renameTable to 
TableCatalog API
URL: https://github.com/apache/spark/pull/25206#issuecomment-518133638
 
 
   > We're just changing the full table name, including namespace, instead of 
just the short name.
   
   If by definition namespace is part of the table name, then it's OK. I 
thought table name and namespace together are the table identifier.
   
   For the parser rule, what I expect is
   ```
   ALTER TABLE [catalog_name] [namespace_name] table_name
   TO [new_namespace_name] new_table_name
   ```
   
   That said, I think this command should never fail at Spark side. The table 
identifier after `TO` should be always interpreted as namespace + table_name. 

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