Chenxi Li created ARROW-12984:
---------------------------------

             Summary: [C++] Passing options of Count aggregation by reference
                 Key: ARROW-12984
                 URL: https://issues.apache.org/jira/browse/ARROW-12984
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Chenxi Li
            Assignee: Chenxi Li


The {{options}} parameter of Count function in {{api_aggregate.h}} is passed by 
value, it's better to be passed by reference like other functions.
{code:c++}
Result<Datum> Count(const Datum& value, ScalarAggregateOptions options, 
ExecContext* ctx)
{code}



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

Reply via email to