We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d09966b commit 5b3ff39Copy full SHA for 5b3ff39
1 file changed
src/common.rs
@@ -21,7 +21,7 @@ use crate::common_union::{
21
/// Downstream consumers (e.g. the rewrite layer, other UDFs) use this to
22
/// recognize JSON-bearing string columns.
23
pub fn is_json_metadata() -> HashMap<String, String> {
24
- HashMap::from_iter(vec![("is_json".to_string(), "true".to_string())])
+ HashMap::from([("is_json".to_string(), "true".to_string())])
25
}
26
27
/// General implementation of `ScalarUDFImpl::return_type`.
0 commit comments