Skip to content

Commit

Permalink
Merge pull request apache#8 from Subsegment/syk-pub
Browse files Browse the repository at this point in the history
fix: remove child meta in build field meta
  • Loading branch information
roseboy-liu authored Jan 9, 2024
2 parents 7a3a902 + 924d93d commit 0488f0d
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 0488f0d

Please sign in to comment.