You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2021/08/29 02:47:00 UTC

[jira] [Resolved] (ORC-973) [C++] Provide more interfaces for creating IN predicate

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

Dongjoon Hyun resolved ORC-973.
-------------------------------
    Fix Version/s: 1.7.0
       Resolution: Fixed

This is resolved via https://github.com/apache/orc/pull/884

> [C++] Provide more interfaces for creating IN predicate
> -------------------------------------------------------
>
>                 Key: ORC-973
>                 URL: https://issues.apache.org/jira/browse/ORC-973
>             Project: ORC
>          Issue Type: New Feature
>          Components: C++
>    Affects Versions: 1.7.0
>            Reporter: Quanlong Huang
>            Assignee: Quanlong Huang
>            Priority: Major
>             Fix For: 1.7.0
>
>
> Currently, for creating IN predicate of SearchArgument, the IN-list should be in type {{std::initializer_list<Literal>}}:
> {code:cpp}
>     virtual SearchArgumentBuilder& in(const std::string& column,
>                                       PredicateDataType type,
>                                       const std::initializer_list<Literal>& literals) = 0;
> {code}
> This is only usable when the caller knows the size of the IN-list at compilation time. We should provide more interfaces like vector, iterators for providing the IN-list.



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