Skip to content

Commit c267596

Browse files
committed
chore: fix
1 parent 6a9d9c9 commit c267596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/cubesql/pg-srv/src/values/timestamp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ impl FromProtocolValue for TimestampValue {
205205
let unix_nano = pg_base_date_epoch()
206206
.and_utc()
207207
.timestamp_nanos_opt()
208-
.unwrap()
208+
.expect("Unable to get timestamp nanos for pg_base_date_epoch")
209209
+ (pg_microseconds * 1_000);
210210

211211
Ok(TimestampValue::new(unix_nano, None))

0 commit comments

Comments
 (0)