mirror of
https://github.com/cldellow/sqlite-parquet-vtable.git
synced 2025-09-10 22:28:53 +00:00
Fix when last rowgroup is not same size as first
...change test data to use 99 rows, so that when we have rowgroup size 10 we exercise this code.
This commit is contained in:
@@ -13,7 +13,7 @@ bool ParquetCursor::nextRowGroup() {
|
||||
|
||||
rowGroupStartRowId = rowId;
|
||||
rowGroupId++;
|
||||
rowGroupMetadata = reader->metadata()->RowGroup(0);
|
||||
rowGroupMetadata = reader->metadata()->RowGroup(rowGroupId);
|
||||
rowsLeftInRowGroup = rowGroupMetadata->num_rows();
|
||||
rowGroup = reader->RowGroup(rowGroupId);
|
||||
for(unsigned int i = 0; i < scanners.size(); i++)
|
||||
|
Reference in New Issue
Block a user