Github user rdblue commented on a diff in the pull request:
https://github.com/apache/spark/pull/21305#discussion_r190711154
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicLogicalOperators.scala
---
@@ -344,6 +344,36 @@ case class Join(
}
}
+/**
+ * Append data to an existing DataSourceV2 table.
+ */
+case class AppendData(
+ table: LogicalPlan,
--- End diff --
Yes. These plans should not be specific to `DataSourceV2Relation`. In the
long term, we want any other relations using `AppendData` to automatically have
the same validation rules applied. That means that `AppendData` should be
generic and not care what the table implementation is.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]