Skip to content

Commit ffcc7e3

Browse files
committed
cargo fmt
1 parent b09453b commit ffcc7e3

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

datafusion/spark/src/function/map/map_func.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,10 @@ impl ScalarUDFImpl for Map {
7878
}
7979

8080
if arg_types.is_empty() {
81-
return Ok(map_type_from_key_value_types(&DataType::Null, &DataType::Null));
81+
return Ok(map_type_from_key_value_types(
82+
&DataType::Null,
83+
&DataType::Null,
84+
));
8285
}
8386

8487
let key_type = arg_types

datafusion/spark/src/function/map/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
pub mod map_func;
1918
pub mod map_from_arrays;
2019
pub mod map_from_entries;
20+
pub mod map_func;
2121
pub mod str_to_map;
2222
mod utils;
2323

0 commit comments

Comments
 (0)