dongjoon-hyun commented on a change in pull request #33070:
URL: https://github.com/apache/spark/pull/33070#discussion_r659261525



##########
File path: 
sql/catalyst/src/main/scala-2.12/org/apache/spark/sql/catalyst/expressions/AttributeMap.scala
##########
@@ -50,4 +50,6 @@ class AttributeMap[A](val baseMap: Map[ExprId, (Attribute, 
A)])
   override def iterator: Iterator[(Attribute, A)] = baseMap.valuesIterator
 
   override def -(key: Attribute): Map[Attribute, A] = baseMap.values.toMap - 
key
+
+  def ++(other: AttributeMap[A]): AttributeMap[A] = new AttributeMap(baseMap 
++ other.baseMap)

Review comment:
       This is fixing `src/main/scala-2.12` only. We need to do the same thing 
for `src/main/scala-2.13`.




-- 
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.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to