Skip to content

Commit

Permalink
comments VELOX_DCHECK_* in Timestamp constructor temporarily (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhejiangxiaomai authored Aug 2, 2023
1 parent a42da5f commit 82433ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions velox/type/Timestamp.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ struct Timestamp {

Timestamp(int64_t seconds, uint64_t nanos)
: seconds_(seconds), nanos_(nanos) {
VELOX_DCHECK_GE(seconds, kMinSeconds, "Timestamp seconds out of range");
/*VELOX_DCHECK_GE(seconds, kMinSeconds, "Timestamp seconds out of range");
VELOX_DCHECK_LE(seconds, kMaxSeconds, "Timestamp seconds out of range");
VELOX_DCHECK_LE(nanos, kMaxNanos, "Timestamp nanos out of range");
VELOX_DCHECK_LE(nanos, kMaxNanos, "Timestamp nanos out of range");*/
}

// Returns the current unix timestamp (ms precision).
Expand Down

0 comments on commit 82433ff

Please sign in to comment.