Skip to content

Commit

Permalink
Bug fix in DataFusion Parquet reader
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Sep 26, 2019
1 parent d4dcfa9 commit c0ded56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/datafusion/src/datasource/parquet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ where
builder.append_slice(&converted_buffer[0..values_read])?;
} else {
let mut value_index = 0;
for i in 0..def_levels.len() {
for i in 0..levels_read {
if def_levels[i] != 0 {
builder.append_value(converted_buffer[value_index].into())?;
value_index += 1;
Expand Down

0 comments on commit c0ded56

Please sign in to comment.