asiunov commented on a change in pull request #23493: [MINOR] Follow up for
SPARK-23936, fixed description of "map_concat" function
URL: https://github.com/apache/spark/pull/23493#discussion_r246253378
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala
##########
@@ -516,7 +516,7 @@ case class MapEntries(child: Expression) extends
UnaryExpression with ExpectsInp
examples = """
Examples:
> SELECT _FUNC_(map(1, 'a', 2, 'b'), map(2, 'c', 3, 'd'));
- {1:"a",2:"c",3:"d"}
+ {1:"a",2:"b",2:"c",3:"d"}
Review comment:
You are right. Looks like I've tested on v2.4.0 because my SPARK_HOME
targeted to the old repo, and the logic was changed towards to exclude
duplicates in https://github.com/apache/spark/pull/23124 .
Now I'm checking on the latest master and have the same results as yours.
Thank you!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]