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

Commit

Permalink
Fixed error (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao authored Dec 23, 2021
1 parent 830bf5f commit 796ee56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/io/parquet/read/binary/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ fn read_dict_buffer<O: Offset>(
values.extend_from_slice(&dict_values[dict_offset_i..dict_offset_ip1]);
})
} else {
offsets.resize(values.len() + additional, last_offset);
offsets.resize(offsets.len() + additional, last_offset);
}
}
}
Expand Down Expand Up @@ -150,7 +150,7 @@ fn read_delta_optional<O: Offset>(
offsets.push(last_offset);
})
} else {
offsets.resize(values.len() + additional, last_offset);
offsets.resize(offsets.len() + additional, last_offset);
}
}
}
Expand Down Expand Up @@ -204,7 +204,7 @@ fn read_plain_optional<O: Offset>(
values.extend_from_slice(value)
})
} else {
offsets.resize(values.len() + additional, last_offset);
offsets.resize(offsets.len() + additional, last_offset);
}
}
}
Expand Down

0 comments on commit 796ee56

Please sign in to comment.