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 <[email protected]> Authored: Sat Jul 15 02:55:13 2017 +0900 Committer: Makoto Yui <[email protected]> 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 {
