diff --git a/datafusion/common/src/scalar.rs b/datafusion/common/src/scalar.rs index 4670ec3e3d99..8240d8b42772 100644 --- a/datafusion/common/src/scalar.rs +++ b/datafusion/common/src/scalar.rs @@ -1739,7 +1739,10 @@ macro_rules! build_values_list_tz { ScalarValue::$SCALAR_TY(None, _) => { builder.values().append_null(); } - other => panic!("Incompatible ScalarValue for list, {}", other.get_datatype()), + other => panic!( + "Incompatible ScalarValue for list, {}", + other.get_datatype() + ), }; } builder.append(true); diff --git a/datafusion/core/src/physical_plan/projection.rs b/datafusion/core/src/physical_plan/projection.rs index 349c21cc0363..52aa5e23dd27 100644 --- a/datafusion/core/src/physical_plan/projection.rs +++ b/datafusion/core/src/physical_plan/projection.rs @@ -303,9 +303,9 @@ fn get_expr_metadata( ) -> HashMap { let mut metadata = HashMap::new(); - for ref child in e.children() { - metadata.extend(get_expr_metadata(child, input_schema)); - } + // for ref child in e.children() { + // metadata.extend(get_expr_metadata(child, input_schema)); + // } if let Some(column) = e.as_any().downcast_ref::() { let _ = input_schema