Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/21655#discussion_r199963152
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala
---
@@ -619,6 +619,7 @@ class SessionCatalog(
requireTableExists(TableIdentifier(oldTableName, Some(db)))
requireTableNotExists(TableIdentifier(newTableName, Some(db)))
validateName(newTableName)
+ validateNewLocationOfRename(oldName, newName)
--- End diff --
Add this new behavior to migration guide?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]