File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
datafusion/core/src/execution/context Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff 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 ( |_| {
You can’t perform that action at this time.
0 commit comments