Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed test
  • Loading branch information
gvramana committed Nov 22, 2014
commit 47f636550e4860073846ec11a813f7cbc4bbc769
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ class HiveUdfSuite extends QueryTest {

checkAnswer(sql("SELECT percentile(key,array(1,1)) FROM src LIMIT 1"),
sql("SELECT array(max(key),max(key)) FROM src").collect().toSeq)

TestHive.reset()
}

test("Generic UDAF aggregates") {
Expand All @@ -98,6 +100,8 @@ class HiveUdfSuite extends QueryTest {

checkAnswer(sql("SELECT percentile_approx(100.0, array(0.9,0.9)) FROM src LIMIT 1"),
sql("SELECT array(100,100) FROM src LIMIT 1").collect().toSeq)

TestHive.reset()
}

test("UDFIntegerToString") {
Expand Down