aboutsummaryrefslogtreecommitdiff
path: root/sql/hive
diff options
context:
space:
mode:
authorWenchen Fan <cloud0fan@outlook.com>2015-06-24 16:26:00 -0700
committerMichael Armbrust <michael@databricks.com>2015-06-24 16:26:00 -0700
commitb71d3254e50838ccae43bdb0ff186fda25f03152 (patch)
tree9a22820e88da2970e4144cb8f82db9309ef38a9f /sql/hive
parent7daa70292e47be6a944351ef00c770ad4bcb0877 (diff)
downloadspark-b71d3254e50838ccae43bdb0ff186fda25f03152.tar.gz
spark-b71d3254e50838ccae43bdb0ff186fda25f03152.tar.bz2
spark-b71d3254e50838ccae43bdb0ff186fda25f03152.zip
[SPARK-8075] [SQL] apply type check interface to more expressions
a follow up of https://github.com/apache/spark/pull/6405. Note: It's not a big change, a lot of changing is due to I swap some code in `aggregates.scala` to make aggregate functions right below its corresponding aggregate expressions. Author: Wenchen Fan <cloud0fan@outlook.com> Closes #6723 from cloud-fan/type-check and squashes the following commits: 2124301 [Wenchen Fan] fix tests 5a658bb [Wenchen Fan] add tests 287d3bb [Wenchen Fan] apply type check interface to more expressions
Diffstat (limited to 'sql/hive')
-rw-r--r--sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveTypeCoercionSuite.scala6
1 files changed, 0 insertions, 6 deletions
diff --git a/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveTypeCoercionSuite.scala b/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveTypeCoercionSuite.scala
index f0f04f8c73..197e9bfb02 100644
--- a/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveTypeCoercionSuite.scala
+++ b/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveTypeCoercionSuite.scala
@@ -59,10 +59,4 @@ class HiveTypeCoercionSuite extends HiveComparisonTest {
}
assert(numEquals === 1)
}
-
- test("COALESCE with different types") {
- intercept[RuntimeException] {
- TestHive.sql("""SELECT COALESCE(1, true, "abc") FROM src limit 1""").collect()
- }
- }
}