Skip to content

Commit

Permalink
fix some warning
Browse files Browse the repository at this point in the history
Signed-off-by: remzi <13716567376yh@gmail.com>
  • Loading branch information
HaoYang670 committed Feb 25, 2022
1 parent 30d12f9 commit 7bdaa72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arrow/src/json/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -653,8 +653,7 @@ impl Decoder {
} else {
projection
.iter()
.map(|name| self.schema.column_with_name(name))
.flatten()
.filter_map(|name| self.schema.column_with_name(name))
.map(|(_, field)| field.clone())
.collect()
};
Expand Down

0 comments on commit 7bdaa72

Please sign in to comment.