Repository: incubator-hivemall
Updated Branches:
  refs/heads/master 231f4e055 -> 0c1447f45


Close #39: Remove unnecessary exception for ChangeFinder2D


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

Branch: refs/heads/master
Commit: 0c1447f454a16ab4c8b886c4cb8eda04b0a349ab
Parents: 231f4e0
Author: Takuya Kitazawa <[email protected]>
Authored: Wed Feb 8 16:28:49 2017 +0900
Committer: myui <[email protected]>
Committed: Wed Feb 8 16:28:49 2017 +0900

----------------------------------------------------------------------
 core/src/main/java/hivemall/anomaly/ChangeFinderUDF.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/0c1447f4/core/src/main/java/hivemall/anomaly/ChangeFinderUDF.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/hivemall/anomaly/ChangeFinderUDF.java 
b/core/src/main/java/hivemall/anomaly/ChangeFinderUDF.java
index e942527..b2e1960 100644
--- a/core/src/main/java/hivemall/anomaly/ChangeFinderUDF.java
+++ b/core/src/main/java/hivemall/anomaly/ChangeFinderUDF.java
@@ -149,7 +149,6 @@ public final class ChangeFinderUDF extends UDFWithOptions {
         if (HiveUtils.isListOI(argOI0)) {
             ListObjectInspector listOI = HiveUtils.asListOI(argOI0);
             this._changeFinder = new ChangeFinder2D(_params, listOI);
-            throw new UnsupportedOperationException("2D x is not supported 
yet");
         } else if (HiveUtils.isNumberOI(argOI0)) {
             PrimitiveObjectInspector xOI = 
HiveUtils.asDoubleCompatibleOI(argOI0);
             this._changeFinder = new ChangeFinder1D(_params, xOI);

Reply via email to