Skip to content

Commit

Permalink
types: Correct printable name of UNIXTIME_MICROS
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Todd Lipcon <[email protected]>
  • Loading branch information
jtbirdsell authored and toddlipcon committed Oct 21, 2016
1 parent 1096d66 commit 49d0d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kudu/common/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 49d0d7f

Please sign in to comment.