Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Fixed error in reading plain after-dict pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Jul 28, 2022
1 parent 2d6ee11 commit e3a5ffd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io/parquet/read/deserialize/fixed_size_binary/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ impl<'a> Decoder<'a> for BinaryDecoder {
is_optional,
is_filtered,
) {
(Encoding::Plain, None, true, false) => {
(Encoding::Plain, _, true, false) => {
Ok(State::Optional(Optional::try_new(page, self.size)?))
}
(Encoding::Plain, None, false, false) => {
(Encoding::Plain, _, false, false) => {
Ok(State::Required(Required::new(page, self.size)))
}
(Encoding::PlainDictionary | Encoding::RleDictionary, Some(dict), false, false) => {
Expand Down

0 comments on commit e3a5ffd

Please sign in to comment.