From 2ba65b9a69ee60297b2f36081f3461796a2cccaf Mon Sep 17 00:00:00 2001 From: Emil Ejbyfeldt Date: Tue, 11 Jun 2024 21:06:31 +0200 Subject: [PATCH] Update core/src/execution/datafusion/expressions/utils.rs Improve comment. Co-authored-by: Parth Chandra --- core/src/execution/datafusion/expressions/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/execution/datafusion/expressions/utils.rs b/core/src/execution/datafusion/expressions/utils.rs index e0c1b9ff2..ee8646a78 100644 --- a/core/src/execution/datafusion/expressions/utils.rs +++ b/core/src/execution/datafusion/expressions/utils.rs @@ -128,7 +128,7 @@ pub fn array_with_timezone( fn datetime_cast_err(value: i64) -> ArrowError { ArrowError::CastError(format!( - "Cannot convert TimestampMicrosecondType {value} to datetime. Comet only supports dates between of Jan 1, 262145 BCE to Dec 31, 262143 CE", + "Cannot convert TimestampMicrosecondType {value} to datetime. Comet only supports dates between Jan 1, 262145 BCE and Dec 31, 262143 CE", )) }