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



##########
File path: python/pyarrow/tests/test_parquet.py
##########
@@ -1997,8 +1997,20 @@ def test_filters_inclusive_set(tempdir, 
use_legacy_dataset):
 
     dataset = pq.ParquetDataset(
         base_path, filesystem=fs,
-        filters=[('integer', 'in', {1}), ('string', 'in', {'a', 'b'}),
-                 ('boolean', 'in', {True})],
+        filters=[('string', 'in', 'ab')],

Review comment:
       ('string', 'in', 'ab') will check if the partition in 'ab', so 'ab' will 
be accepted.
   ('string', 'in', {'a', 'b'})  will check if the partition in  {'a', 'b'}. 
And  'ab' will not be accepted.




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