wyzhao commented on a change in pull request #8672:
URL: https://github.com/apache/arrow/pull/8672#discussion_r532378480
##########
File path: python/pyarrow/parquet.py
##########
@@ -877,17 +894,22 @@ def filter_accepts_partition(self, part_key, filter,
level):
f_type = type(f_value)
- if isinstance(f_value, set):
+ if op in {'in', 'not in'}:
+ if not (isinstance(f_value, Container) and
+ isinstance(f_value, Iterable)):
Review comment:
Collection is not supported in python 3.5, so roll back to Container and
Iterable.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]