Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-979 C++ API QA
  3. ORC-973

[C++] Provide more interfaces for creating IN predicate

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.7.0
    • C++
    • None

    Description

      Currently, for creating IN predicate of SearchArgument, the IN-list should be in type std::initializer_list<Literal>:

          virtual SearchArgumentBuilder& in(const std::string& column,
                                            PredicateDataType type,
                                            const std::initializer_list<Literal>& literals) = 0;
      

      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.

      Attachments

        Issue Links

          Activity

            People

              stigahuang Quanlong Huang
              stigahuang Quanlong Huang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: