Skip to content

Commit 2c35025

Browse files
chore: typo
1 parent b8be3b1 commit 2c35025

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎datafusion/functions/src/datetime/to_local_time.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ fn adjust_to_local_time<T: ArrowTimestampType>(ts: i64, tz: Tz) -> Result<i64> {
263263
{
264264
match converter(ts) {
265265
MappedLocalTime::Ambiguous(earliest, latest) => exec_err!(
266-
"Ambiguous timestamp in microseconds. Do you mean {:?} or {:?}",
266+
"Ambiguous timestamp. Do you mean {:?} or {:?}",
267267
earliest,
268268
latest
269269
),
@@ -293,7 +293,7 @@ fn adjust_to_local_time<T: ArrowTimestampType>(ts: i64, tz: Tz) -> Result<i64> {
293293
.ok_or(DataFusionError::Internal("Offset seconds should be less than i64::MAX / 1_000 or greater than -i64::MAX / 1_000".to_string()))?,
294294
);
295295

296-
// convert the navie datetime back to i64
296+
// convert the naive datetime back to i64
297297
match T::UNIT {
298298
Nanosecond => adjusted_date_time.timestamp_nanos_opt().ok_or(
299299
DataFusionError::Internal(

0 commit comments

Comments
 (0)