Github user hyunsik commented on a diff in the pull request:
https://github.com/apache/tajo/pull/36#discussion_r13666009
--- Diff:
tajo-core/src/main/java/org/apache/tajo/engine/function/builtin/AvgDouble.java
---
@@ -64,7 +65,11 @@ public void eval(FunctionContext ctx, Tuple params) {
@Override
public void merge(FunctionContext ctx, Tuple part) {
AvgContext avgCtx = (AvgContext) ctx;
- ProtobufDatum datum = (ProtobufDatum) part.get(0);
+ Datum d = part.get(0);
--- End diff --
Does the case occur in AvgDouble? How about other avg functions like
AvgLong or AvgFloat?
---
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.
---