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 2017/07/14 17:55:21 UTC

incubator-hivemall git commit: HOTFIX: Fixed CI error introduced in XGBoostOptions.scala (L34) that XGBoostUDTF cannot be instantiated due to lack of checkTargetValue

Repository: incubator-hivemall
Updated Branches:
  refs/heads/master 3cbc6647e -> 7ec82a6a8


HOTFIX: Fixed CI error introduced in XGBoostOptions.scala (L34) that XGBoostUDTF cannot be instantiated due to lack of checkTargetValue


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

Branch: refs/heads/master
Commit: 7ec82a6a87dc7fd6d0b8cd08fc2bb640f36f6315
Parents: 3cbc664
Author: Makoto Yui <my...@apache.org>
Authored: Sat Jul 15 02:55:13 2017 +0900
Committer: Makoto Yui <my...@apache.org>
Committed: Sat Jul 15 02:55:13 2017 +0900

----------------------------------------------------------------------
 xgboost/src/main/java/hivemall/xgboost/XGBoostUDTF.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/7ec82a6a/xgboost/src/main/java/hivemall/xgboost/XGBoostUDTF.java
----------------------------------------------------------------------
diff --git a/xgboost/src/main/java/hivemall/xgboost/XGBoostUDTF.java b/xgboost/src/main/java/hivemall/xgboost/XGBoostUDTF.java
index c67d35b..3f3c08f 100644
--- a/xgboost/src/main/java/hivemall/xgboost/XGBoostUDTF.java
+++ b/xgboost/src/main/java/hivemall/xgboost/XGBoostUDTF.java
@@ -275,7 +275,7 @@ public abstract class XGBoostUDTF extends UDTFWithOptions {
     }
 
     /** It `target` has valid input range, it overrides this */
-    protected abstract void checkTargetValue(double target) throws HiveException;
+    protected void checkTargetValue(double target) throws HiveException {}
 
     @Override
     public void process(@Nonnull Object[] args) throws HiveException {