kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [1/3] kudu git commit: types: Correct printable name of UNIXTIME_MICROS
Date Sat, 22 Oct 2016 01:40:56 GMT
Repository: kudu
Updated Branches:
  refs/heads/master 1096d663f -> 4b5425aa3


types: Correct printable name of UNIXTIME_MICROS

UNIXTIME_MICROS is still printing "timestamp" in some errors. This
patch fixes that.

Change-Id: I84b5dc52c3f3ee311330c5151d380b34e13a34ae
Reviewed-on: http://gerrit.cloudera.org:8080/4777
Tested-by: Kudu Jenkins
Reviewed-by: Dinesh Bhat <dinesh@cloudera.com>
Reviewed-by: Todd Lipcon <todd@apache.org>


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

Branch: refs/heads/master
Commit: 49d0d7f48897adb7bea3031ab7e13ddb80fe7b14
Parents: 1096d66
Author: Jordan Birdsell <jordantbirdsell@gmail.com>
Authored: Thu Oct 20 18:51:51 2016 -0400
Committer: Todd Lipcon <todd@apache.org>
Committed: Fri Oct 21 17:13:51 2016 +0000

----------------------------------------------------------------------
 src/kudu/common/types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/49d0d7f4/src/kudu/common/types.h
----------------------------------------------------------------------
diff --git a/src/kudu/common/types.h b/src/kudu/common/types.h
index 9bed955..46f0452 100644
--- a/src/kudu/common/types.h
+++ b/src/kudu/common/types.h
@@ -424,7 +424,7 @@ struct DataTypeTraits<UNIXTIME_MICROS> : public DerivedTypeTraits<INT64>{
   static const int US_TO_S = 1000L * 1000L;
 
   static const char* name() {
-    return "timestamp";
+    return "unixtime_micros";
   }
 
   static void AppendDebugStringForValue(const void* val, string* str) {


Mime
View raw message