clintropolis commented on a change in pull request #9638:
URL: https://github.com/apache/druid/pull/9638#discussion_r473434954



##########
File path: 
processing/src/main/java/org/apache/druid/query/aggregation/post/ExpressionPostAggregator.java
##########
@@ -179,6 +169,14 @@ public String getName()
     return name;
   }
 
+  @Override
+  public ValueType getType()
+  {
+    // this is wrong, replace with Expr output type based on the input types 
once it is available
+    // but treat as string for now
+    return ValueType.STRING;

Review comment:
       I've changed this to be `null` for now, rather than incorrectly calling 
it string, so it will continue to be treated as unknown, but did go ahead and 
wire things up for a follow-up PR to be able to add output type inference to 
expressions during post-agg decoration.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to