-
- Downloads
[SPARK-9728][SQL]Support CalendarIntervalType in HiveQL
This PR enables converting interval term in HiveQL to CalendarInterval Literal. JIRA: https://issues.apache.org/jira/browse/SPARK-9728 Author: Yijie Shen <henry.yijieshen@gmail.com> Closes #8034 from yjshen/interval_hiveql and squashes the following commits: 7fe9a5e [Yijie Shen] declare throw exception and add unit test fce7795 [Yijie Shen] convert hiveql interval term into CalendarInterval literal
Showing
- sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala 25 additions, 0 deletions...ive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala
- sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveQlSuite.scala 15 additions, 0 deletions...rc/test/scala/org/apache/spark/sql/hive/HiveQlSuite.scala
- sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala 22 additions, 0 deletions...a/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala
- unsafe/src/main/java/org/apache/spark/unsafe/types/CalendarInterval.java 156 additions, 0 deletions.../java/org/apache/spark/unsafe/types/CalendarInterval.java
- unsafe/src/test/java/org/apache/spark/unsafe/types/CalendarIntervalSuite.java 91 additions, 0 deletions.../org/apache/spark/unsafe/types/CalendarIntervalSuite.java
Loading
Please register or sign in to comment