Skip to content

Commit

Permalink
[Go]: fix check rowgroups
Browse files Browse the repository at this point in the history
Signed-off-by: sunby <[email protected]>
  • Loading branch information
sunby committed Dec 26, 2023
1 parent 4a9a35e commit 7592eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/common/arrow_util/arrow_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func MakeArrowRecordReader(reader *pqarrow.FileReader, opts *options.ReadOptions
columnIndices = append(columnIndices, metadata.Schema.ColumnIndexByName(f.GetColumnName()))
}

for i := 0; i < int(metadata.NumRows); i++ {
for i := 0; i < len(metadata.RowGroups); i++ {
rg := metadata.RowGroup(i)
var canIgnored bool
for _, filter := range opts.Filters {
Expand Down

0 comments on commit 7592eac

Please sign in to comment.