Add exception


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

Branch: refs/heads/JIRA-22/pr-336
Commit: 33eab26f383dbdbce00a209e742b611a63d953cf
Parents: ba91267
Author: amaya <g...@sapphire.in.net>
Authored: Thu Nov 17 14:16:14 2016 +0900
Committer: amaya <g...@sapphire.in.net>
Committed: Thu Nov 17 14:16:14 2016 +0900

----------------------------------------------------------------------
 .../main/java/hivemall/systemtest/runner/HiveSystemTestRunner.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/33eab26f/systemtest/src/main/java/hivemall/systemtest/runner/HiveSystemTestRunner.java
----------------------------------------------------------------------
diff --git 
a/systemtest/src/main/java/hivemall/systemtest/runner/HiveSystemTestRunner.java 
b/systemtest/src/main/java/hivemall/systemtest/runner/HiveSystemTestRunner.java
index 6b41855..25a2125 100644
--- 
a/systemtest/src/main/java/hivemall/systemtest/runner/HiveSystemTestRunner.java
+++ 
b/systemtest/src/main/java/hivemall/systemtest/runner/HiveSystemTestRunner.java
@@ -132,6 +132,7 @@ public class HiveSystemTestRunner extends SystemTestRunner {
                 hShell.insertInto(dbName, 
hq.tableName).addRowsFromTsv(hq.file).commit();
                 break;
             case MSGPACK:
+                throw new Exception("MessagePack is not supported in 
HiveSystemTestRunner");
             case UNKNOWN:
                 throw new Exception("Input csv or tsv");
         }

Reply via email to