You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/08/25 07:56:28 UTC

[GitHub] [druid] gianm commented on a change in pull request #9638: refactor internal type system

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



##########
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 think it'd be good to make it `@Nullable` for now, with a note that we'd like it to stop being nullable in the future when X/Y/Z things are done.




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org