viirya commented on a change in pull request #29107:
URL: https://github.com/apache/spark/pull/29107#discussion_r458369336



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicLogicalOperators.scala
##########
@@ -220,8 +220,15 @@ object Union {
 
 /**
  * Logical plan for unioning two plans, without a distinct. This is UNION ALL 
in SQL.
+ *
+ * @param byName          Whether resolves columns in the children by column 
names.
+ * @param allowMissingCol Allows missing columns in children query plans. If 
it is true,
+ *                        this function allows different set of column names 
between two Datasets.
  */
-case class Union(children: Seq[LogicalPlan]) extends LogicalPlan {
+case class Union(
+    children: Seq[LogicalPlan],
+    byName: Boolean = false,
+    allowMissingCol: Boolean = false) extends LogicalPlan {

Review comment:
       Added.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to