Skip to content

Commit

Permalink
fix: remove child meta in build field meta
Browse files Browse the repository at this point in the history
  • Loading branch information
Subsegment committed Dec 29, 2023
1 parent 7a3a902 commit 924d93d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion datafusion/common/src/scalar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
6 changes: 3 additions & 3 deletions datafusion/core/src/physical_plan/projection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,9 @@ fn get_expr_metadata(
) -> HashMap<String, String> {
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::<Column>() {
let _ = input_schema
Expand Down

0 comments on commit 924d93d

Please sign in to comment.