Skip to content

Commit

Permalink
Don't support range indices when filters is non None
Browse files Browse the repository at this point in the history
  • Loading branch information
wence- committed Feb 13, 2024
1 parent ca07d6a commit b9c195f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/cudf/cudf/_lib/parquet.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ cpdef read_parquet(filepaths_or_buffers, columns=None, row_groups=None,
for col in columns:
cpp_columns.push_back(str(col).encode())
args.set_columns(cpp_columns)
# Filters don't handle the range index correctly
allow_range_index &= filters is None

# Read Parquet
cdef cudf_io_types.table_with_metadata c_result
Expand Down

0 comments on commit b9c195f

Please sign in to comment.