You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by gatorsmile <gi...@git.apache.org> on 2018/07/03 22:05:47 UTC

[GitHub] spark pull request #21655: [SPARK-24675][SQL]Rename table: validate existenc...

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: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org