Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-5005

[C++] Implement support for using selection vectors in scalar aggregate function kernels

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++
    • None

    Description

      The aggregate kernels don't support mask (the result of a filter). Add the the following method to `AggregateFunction`.

      virtual Status ConsumeWithFilter(const Array& input, const Array& mask, void* state) const = 0;
      

      The goal is to add support for AST similar to:

      SELECT AGG(x) FROM table WHERE pred;
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fsaintjacques Francois Saint-Jacques
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: