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

    https://github.com/apache/spark/pull/21305#discussion_r206746383
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicLogicalOperators.scala
 ---
    @@ -352,6 +351,36 @@ case class Join(
       }
     }
     
    +/**
    + * Append data to an existing table.
    + */
    +case class AppendData(
    +    table: NamedRelation,
    +    query: LogicalPlan,
    +    isByName: Boolean) extends LogicalPlan {
    +  override def children: Seq[LogicalPlan] = Seq(query)
    --- End diff --
    
    why is `table` not a child? Then we can't transform the table relation.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to