wyzhao commented on a change in pull request #8672:
URL: https://github.com/apache/arrow/pull/8672#discussion_r529077937



##########
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:
       Hi Joris. I changed to use Collection. But the build failed for python 
3.5 which does not support Collection.
   What is your take on this?
   Thanks.




----------------------------------------------------------------
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]


Reply via email to