Hyunsik Choi created TAJO-1031:
----------------------------------

             Summary: Avg function should be one rewrite rule of sum / count 
instead of a specialized function
                 Key: TAJO-1031
                 URL: https://issues.apache.org/jira/browse/TAJO-1031
             Project: Tajo
          Issue Type: Improvement
            Reporter: Hyunsik Choi
            Priority: Minor


In our design, all EvalNodes and functions return only one result. But, only 
Avg function is defined as a specialized function which returns two results: 
count and sum. Avg function is inconsistent with the system. We have kept some 
exception cases because of only Avg. 

I think that this approach is not good. It would make our function and EvalNode 
system more consistent if we change current Avg to one rewrite rule.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to