Github user ueshin commented on a diff in the pull request:
https://github.com/apache/spark/pull/21937#discussion_r207767260
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala
---
@@ -3698,230 +3767,162 @@ object ArraySetLike
Github user ueshin commented on a diff in the pull request:
https://github.com/apache/spark/pull/21937#discussion_r207767113
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala
---
@@ -3698,230 +3767,162 @@ object ArraySetLike
GitHub user kiszk opened a pull request:
https://github.com/apache/spark/pull/21937
[WIP][SPARK-23914][SQL][follow-up] refactor ArrayUnion
## What changes were proposed in this pull request?
This PR refactors `ArrayUnion` based on [this
suggestion](https://github.com/apache