Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20999#discussion_r223913441
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/command/ddl.scala ---
    @@ -521,35 +521,114 @@ case class AlterTableRenamePartitionCommand(
      */
     case class AlterTableDropPartitionCommand(
    --- End diff --
    
    But it's also weird to use `AttributeReference` this way. Can we create a 
new `Attribute` implementation for this purpose? Basically we only need a 
resolved expression to hold the partition column name. The type doesn't matter.


---

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

Reply via email to