You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2020/12/21 16:45:00 UTC

[jira] [Resolved] (ARROW-10574) [Python][Parquet] Allow collections for 'in' / 'not in' filter (in addition to sets)

     [ https://issues.apache.org/jira/browse/ARROW-10574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joris Van den Bossche resolved ARROW-10574.
-------------------------------------------
    Resolution: Fixed

Issue resolved by pull request 8672
[https://github.com/apache/arrow/pull/8672]

> [Python][Parquet] Allow collections for 'in' / 'not in' filter (in addition to sets)
> ------------------------------------------------------------------------------------
>
>                 Key: ARROW-10574
>                 URL: https://issues.apache.org/jira/browse/ARROW-10574
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Weiyang Zhao
>            Assignee: Weiyang Zhao
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.0.0
>
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> I would like to enhance partition filters in methods such as:
> {{pyarrow.parquet.ParquetDataset(path, filters)}}
> I am proposing the below enhancements:
>  # for operator "in", "not in", the value should be any typing.Iteratable (also a container). But currently only set is supported while other iteratable, such as list, tuple cannot function correctly. I would like to change it to accept any iteratable.
>  # Enhance the documents about the partition filters.
> I see there is a new version implemented with 
>  _ParquetDatasetV2 which already accepts an iterable. So the documentation update is fine for the new version as well.
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)