You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2021/08/27 05:47:00 UTC
[jira] [Created] (ORC-973) [C++] Provide more interfaces for
creating IN predicate
Quanlong Huang created ORC-973:
----------------------------------
Summary: [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
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)