Skip to content

Commit 70cf381

Browse files
Update datafusion/core/src/execution/context/mod.rs
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
1 parent 0bef103 commit 70cf381

File tree

1 file changed

+1
-1
lines changed
  • datafusion/core/src/execution/context

1 file changed

+1
-1
lines changed

datafusion/core/src/execution/context/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1343,7 +1343,7 @@ impl SessionContext {
13431343
"m" if minutes.is_none() && seconds.is_none() => minutes = Some(number),
13441344
"s" if seconds.is_none() => seconds = Some(number),
13451345
other => plan_err!(
1346-
"Invalid duration, unit must be either 'm' (minutes), or 's' (seconds), and be in the correct order for '{config_name}'"
1346+
"Invalid duration unit: '{other}'. The unit must be either 'm' (minutes), or 's' (seconds), and be in the correct order for '{config_name}'"
13471347
)?,
13481348
}
13491349
}

0 commit comments

Comments
 (0)