-
- Downloads
[SPARK-6912] [SQL] Throw an AnalysisException when unsupported Java Map<K,V> types used in Hive UDF
To make UDF developers understood, throw an exception when unsupported Map<K,V> types used in Hive UDF. This fix is the same with #7248. Author: Takeshi YAMAMURO <linguin.m.s@gmail.com> Closes #7257 from maropu/ThrowExceptionWhenMapUsed and squashes the following commits: 916099a [Takeshi YAMAMURO] Fix style errors 7886dcc [Takeshi YAMAMURO] Throw an exception when Map<> used in Hive UDF
Showing
- sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveInspectors.scala 6 additions, 0 deletions...main/scala/org/apache/spark/sql/hive/HiveInspectors.scala
- sql/hive/src/test/java/org/apache/spark/sql/hive/execution/UDFToIntIntMap.java 35 additions, 0 deletions...a/org/apache/spark/sql/hive/execution/UDFToIntIntMap.java
- sql/hive/src/test/java/org/apache/spark/sql/hive/execution/UDFToStringIntMap.java 35 additions, 0 deletions...rg/apache/spark/sql/hive/execution/UDFToStringIntMap.java
- sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveUDFSuite.scala 32 additions, 0 deletions...la/org/apache/spark/sql/hive/execution/HiveUDFSuite.scala
Please register or sign in to comment