You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hivemall.apache.org by my...@apache.org on 2018/11/07 07:36:57 UTC

incubator-hivemall git commit: Fixed scala test for subarray UDF misusage

Repository: incubator-hivemall
Updated Branches:
  refs/heads/master d95543e05 -> c63d7b9e2


Fixed scala test for subarray UDF misusage


Project: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/commit/c63d7b9e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/tree/c63d7b9e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hivemall/diff/c63d7b9e

Branch: refs/heads/master
Commit: c63d7b9e29095c6e5dad49aee10cb17cf702efa8
Parents: d95543e
Author: Makoto Yui <my...@apache.org>
Authored: Wed Nov 7 16:36:49 2018 +0900
Committer: Makoto Yui <my...@apache.org>
Committed: Wed Nov 7 16:36:49 2018 +0900

----------------------------------------------------------------------
 .../test/scala/org/apache/spark/sql/hive/HivemallOpsSuite.scala    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/c63d7b9e/spark/spark-2.2/src/test/scala/org/apache/spark/sql/hive/HivemallOpsSuite.scala
----------------------------------------------------------------------
diff --git a/spark/spark-2.2/src/test/scala/org/apache/spark/sql/hive/HivemallOpsSuite.scala b/spark/spark-2.2/src/test/scala/org/apache/spark/sql/hive/HivemallOpsSuite.scala
index f2b7b6e..66515b6 100644
--- a/spark/spark-2.2/src/test/scala/org/apache/spark/sql/hive/HivemallOpsSuite.scala
+++ b/spark/spark-2.2/src/test/scala/org/apache/spark/sql/hive/HivemallOpsSuite.scala
@@ -427,7 +427,7 @@ class HivemallOpsWithFeatureSuite extends HivemallFeatureQueryTest {
     )
     checkAnswer(
       DummyInputData.select(subarray(typedLit(Seq(1, 2, 3, 4, 5)), lit(2), lit(4))),
-      Row(Seq(3, 4))
+      Row(Seq(3, 4, 5))
     )
     checkAnswer(
       DummyInputData.select(to_string_array(typedLit(Seq(1, 2, 3, 4, 5)))),