Skip to content

Commit 7ba2952

Browse files
authored
Fix handling of rowGroups option in ParquetFile.read (#802)
* Support rowGroups option in ParquetFile.read * fix indent
1 parent c54250b commit 7ba2952

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/read_options.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ impl JsReaderOptions {
7777
builder = builder.with_projection(projection_mask);
7878
}
7979

80+
if let Some(row_groups) = &self.row_groups {
81+
builder = builder.with_row_groups(row_groups.clone());
82+
}
83+
8084
Ok(builder)
8185
}
8286
}

0 commit comments

Comments
 (0)