From 82433ff546624cec0fc59dcb6f145ad866d06d56 Mon Sep 17 00:00:00 2001 From: "zhao, zhenhui" Date: Wed, 2 Aug 2023 09:23:24 +0800 Subject: [PATCH] comments VELOX_DCHECK_* in Timestamp constructor temporarily (#382) --- velox/type/Timestamp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/velox/type/Timestamp.h b/velox/type/Timestamp.h index 5f551ae6626d..c3b7c04ff4ee 100644 --- a/velox/type/Timestamp.h +++ b/velox/type/Timestamp.h @@ -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).