Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
pront committed Aug 13, 2024
1 parent 7546afc commit 7158ca9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions changelog.d/21067_reduce.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixes a Vector v0.40 regression where the `reduce` transform would not group top level objects correctly.
6 changes: 0 additions & 6 deletions src/transforms/reduce/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,6 @@ impl TransformConfig for ReduceConfig {
let mut schema_definition = merged_definition;

for (path, merge_strategy) in self.merge_strategies.iter() {
// let key = if let Ok(key) = parse_target_path(key) {
// key
// } else {
// continue;
// };

let input_kind = match path.prefix() {
PathPrefix::Event => schema_definition.event_kind().at_path(path.value_path()),
PathPrefix::Metadata => {
Expand Down

0 comments on commit 7158ca9

Please sign in to comment.