Repository: kylin
Updated Branches:
  refs/heads/2.x-staging 10ccd0a7b -> e31c9adde


set 0 for all HTable cell’s timestamp


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/e31c9add
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/e31c9add
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/e31c9add

Branch: refs/heads/2.x-staging
Commit: e31c9adde73c95502fce0bb9e310b1f0789cf10c
Parents: 10ccd0a
Author: shaofengshi <shaofeng...@apache.org>
Authored: Wed Dec 30 10:24:14 2015 +0800
Committer: shaofengshi <shaofeng...@apache.org>
Committed: Wed Dec 30 10:24:35 2015 +0800

----------------------------------------------------------------------
 .../java/org/apache/kylin/storage/hbase/steps/KeyValueCreator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/e31c9add/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/KeyValueCreator.java
----------------------------------------------------------------------
diff --git 
a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/KeyValueCreator.java
 
b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/KeyValueCreator.java
index dc35c56..2f72b7d 100644
--- 
a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/KeyValueCreator.java
+++ 
b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/KeyValueCreator.java
@@ -33,7 +33,7 @@ public class KeyValueCreator {
 
         cfBytes = Bytes.toBytes(colDesc.getColumnFamilyName());
         qBytes = Bytes.toBytes(colDesc.getQualifier());
-        timestamp = System.currentTimeMillis();
+        timestamp = 0; // use 0 for timestamp
 
         refIndex = colDesc.getMeasureIndex();
         refMeasures = colDesc.getMeasures();

Reply via email to