SuccessChanges

Summary

  1. [SPARK-23933][SQL] Add map_from_arrays function (commit: ada28f25955a9e8ddd182ad41b2a4ef278f3d809) (details)
  2. Remove extra parens (commit: 8b0a211f4c5046065b0e2abcac0ee71119ff6bd6) (details)
Commit ada28f25955a9e8ddd182ad41b2a4ef278f3d809 by ueshin
[SPARK-23933][SQL] Add map_from_arrays function
## What changes were proposed in this pull request?
The PR adds the SQL function `map_from_arrays`. The behavior of the
function is based on Presto's `map`. Since SparkSQL already had a `map`
function, we prepared the different name for this behavior.
This function returns returns a map from a pair of arrays for keys and
values.
## How was this patch tested?
Added UTs
Author: Kazuaki Ishizaki <ishizaki@jp.ibm.com>
Closes #21258 from kiszk/SPARK-23933.
(commit: ada28f25955a9e8ddd182ad41b2a4ef278f3d809)
The file was modifiedsql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala (diff)
The file was modifiedsql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/ComplexTypeSuite.scala (diff)
The file was modifiedsql/core/src/main/scala/org/apache/spark/sql/functions.scala (diff)
The file was modifiedsql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/complexTypeCreator.scala (diff)
The file was modifiedpython/pyspark/sql/functions.py (diff)
The file was modifiedsql/core/src/test/scala/org/apache/spark/sql/DataFrameFunctionsSuite.scala (diff)
The file was modifiedresource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/ExecutorPodsSnapshotsStoreImpl.scala (diff)