Skip to content

Commit 8fd202e

Browse files
Fix formatter issue
1 parent 298c0bc commit 8fd202e

File tree

1 file changed

+7
-2
lines changed
  • datafusion/core/src/execution/context

1 file changed

+7
-2
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,9 +1289,14 @@ impl SessionContext {
12891289
/// (1.5 * 1024.0 * 1024.0 * 1024.0) as usize
12901290
/// );
12911291
/// ```
1292-
pub fn parse_capacity_limit(config_name: &str, limit: &str) -> Result<usize, DataFusionError> {
1292+
pub fn parse_capacity_limit(
1293+
config_name: &str,
1294+
limit: &str,
1295+
) -> Result<usize, DataFusionError> {
12931296
if limit.trim().is_empty() {
1294-
return Err(plan_datafusion_err!("Empty limit value found for '{config_name}'"));
1297+
return Err(plan_datafusion_err!(
1298+
"Empty limit value found for '{config_name}'"
1299+
));
12951300
}
12961301
let (number, unit) = limit.split_at(limit.len() - 1);
12971302
let number: f64 = number.parse().map_err(|_| {

0 commit comments

Comments
 (0)