kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaofeng...@apache.org
Subject kylin git commit: set 0 for all HTable cell’s timestamp
Date Wed, 30 Dec 2015 02:25:24 GMT
Repository: kylin
Updated Branches:
  refs/heads/2.0-rc 9095b3d60 -> 2b222043d


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/2b222043
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/2b222043
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/2b222043

Branch: refs/heads/2.0-rc
Commit: 2b222043d5902766b0b0e202b062db8793cf9a95
Parents: 9095b3d
Author: shaofengshi <shaofengshi@apache.org>
Authored: Wed Dec 30 10:24:14 2015 +0800
Committer: shaofengshi <shaofengshi@apache.org>
Committed: Wed Dec 30 10:25:18 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/2b222043/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 7f40259..e56e2ea 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();


Mime
View raw message