diff --git a/datafusion/functions/src/core/map.rs b/datafusion/functions/src/core/map.rs index 79f710281984..f0140c490e2b 100644 --- a/datafusion/functions/src/core/map.rs +++ b/datafusion/functions/src/core/map.rs @@ -19,9 +19,7 @@ use std::any::Any; use std::collections::VecDeque; use std::sync::Arc; -use arrow::array::{ - new_null_array, Array, ArrayData, ArrayRef, MapArray, StructArray, -}; +use arrow::array::{new_null_array, Array, ArrayData, ArrayRef, MapArray, StructArray}; use arrow::compute::concat; use arrow::datatypes::{DataType, Field, SchemaBuilder}; use arrow_buffer::{Buffer, ToByteSlice}; diff --git a/datafusion/functions/src/core/mod.rs b/datafusion/functions/src/core/mod.rs index 8e88cb59dbde..ecea03b71f81 100644 --- a/datafusion/functions/src/core/mod.rs +++ b/datafusion/functions/src/core/mod.rs @@ -83,7 +83,7 @@ pub mod expr_fn { args, ),( make_map, - "Returns a map created from a list of key-value pairs", + "Returns a map created from the given keys and values pairs. This function isn't efficient for large maps. Use the `map` function instead.", args, ),( map,