-
- Downloads
[SPARK-17495][SQL] Add more tests for hive hash
## What changes were proposed in this pull request? This PR adds tests hive-hash by comparing the outputs generated against Hive 1.2.1. Following datatypes are covered by this PR: - null - boolean - byte - short - int - long - float - double - string - array - map - struct Datatypes that I have _NOT_ covered but I will work on separately are: - Decimal (handled separately in https://github.com/apache/spark/pull/17056) - TimestampType - DateType - CalendarIntervalType ## How was this patch tested? NA Author: Tejas Patil <tejasp@fb.com> Closes #17049 from tejasapatil/SPARK-17495_remaining_types.
Showing
- common/unsafe/src/main/java/org/apache/spark/sql/catalyst/expressions/HiveHasher.java 1 addition, 1 deletion...org/apache/spark/sql/catalyst/expressions/HiveHasher.java
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/hash.scala 5 additions, 6 deletions...cala/org/apache/spark/sql/catalyst/expressions/hash.scala
- sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/HashExpressionsSuite.scala 246 additions, 1 deletion...spark/sql/catalyst/expressions/HashExpressionsSuite.scala
Please register or sign in to comment