Github user jaceklaskowski commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19773#discussion_r151739773
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/command/ddl.scala ---
    @@ -318,16 +318,28 @@ case class AlterTableChangeColumnCommand(
               s"'${newColumn.name}' with type '${newColumn.dataType}'")
         }
     
    +    val changeSchema = originColumn.dataType != newColumn.dataType
    --- End diff --
    
    What do you think about renaming the val to `typeChanged`?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to