This is an automated email from the ASF dual-hosted git repository. shaofengshi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push: new b99beb6 KYLIN-3494: Build cube with spark reports ArrayIndexOutOfBoundsException b99beb6 is described below commit b99beb640f67bb2957ce770bf3bc2be2398d8c63 Author: Liu Shaohui <liushao...@xiaomi.com> AuthorDate: Fri Jan 25 19:23:03 2019 +0800 KYLIN-3494: Build cube with spark reports ArrayIndexOutOfBoundsException --- engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkUtil.java b/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkUtil.java index 151103a..5e7d66e 100644 --- a/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkUtil.java +++ b/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkUtil.java @@ -161,7 +161,7 @@ public class SparkUtil { @Override public String[] call(Text text) throws Exception { String s = Bytes.toString(text.getBytes(), 0, text.getLength()); - return s.split(BatchConstants.SEQUENCE_FILE_DEFAULT_DELIMITER); + return s.split(BatchConstants.SEQUENCE_FILE_DEFAULT_DELIMITER, -1); } }); }