Github user sirpkt commented on the pull request:
https://github.com/apache/tajo/pull/315#issuecomment-68024356
I updated the patch as followings
- null handling bug fix in getPartialResult() of Min and Max
- getEmptyTuple() in DistinctGroupbySortAggregationExec.java is changed to
make Tuple according to the type of aggregation functions: currently, null
datum for min and max and 0 for other types.
- Test result is fixed as correct value
mvn clean install passed.
sum() and avg() also need to be changed to handle null differently from
non-null values.
I'll make another issue about sum() and avg().
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---