You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2018/07/05 03:43:54 UTC

[kylin] branch sync updated: probing for error

This is an automated email from the ASF dual-hosted git repository.

liyang pushed a commit to branch sync
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/sync by this push:
     new 0ebd98b  probing for error
0ebd98b is described below

commit 0ebd98b2cb734cb0d1899fce7839801df60bcd86
Author: Li Yang <li...@apache.org>
AuthorDate: Thu Jul 5 11:43:35 2018 +0800

    probing for error
---
 .../test/java/org/apache/kylin/provision/BuildCubeWithEngine.java    | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/kylin-it/src/test/java/org/apache/kylin/provision/BuildCubeWithEngine.java b/kylin-it/src/test/java/org/apache/kylin/provision/BuildCubeWithEngine.java
index 2f22bd4..d7a4015 100644
--- a/kylin-it/src/test/java/org/apache/kylin/provision/BuildCubeWithEngine.java
+++ b/kylin-it/src/test/java/org/apache/kylin/provision/BuildCubeWithEngine.java
@@ -489,6 +489,11 @@ public class BuildCubeWithEngine {
         if (segment.getModel().getPartitionDesc().isPartitioned()) {
             TblColRef colRef = segment.getModel().getPartitionDesc().getPartitionDateColumnRef();
             DimensionRangeInfo dmRangeInfo = segment.getDimensionRangeInfoMap().get(colRef.getIdentity());
+            if (dmRangeInfo == null) {
+                logger.info("Wrong: " + segment);
+                logger.info("Wrong: " + colRef.getIdentity());
+                logger.info("Wrong: " + segment.getDimensionRangeInfoMap());
+            }
             long min_v = DateFormat.stringToMillis(dmRangeInfo.getMin());
             long max_v = DateFormat.stringToMillis(dmRangeInfo.getMax());
             long ts_range_start = segment.getTSRange().start.v;