Github user mn-mikke commented on a diff in the pull request:
https://github.com/apache/spark/pull/21258#discussion_r186408884
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala
---
@@ -405,6 +405,7 @@ object FunctionRegistry {
expression[ArrayPosition]("array_position"),
expression[ArraySort]("array_sort"),
expression[CreateMap]("map"),
+ expression[CreateMapFromArray]("map_fromarray"),
--- End diff --
I think the name should be consistent across various APIs.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]