You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Kikyou1997 (via GitHub)" <gi...@apache.org> on 2023/04/03 12:34:24 UTC
[GitHub] [doris] Kikyou1997 commented on a diff in pull request #18331: [improve](nereids)compute statsRange.length() according to the column datatype
Kikyou1997 commented on code in PR #18331:
URL: https://github.com/apache/doris/pull/18331#discussion_r1155901686
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/types/DataType.java:
##########
@@ -587,4 +587,8 @@ public Map<Class<? extends DataType>, Promotion<DataType>> build() {
return (Map) ImmutableMap.copyOf(promotionMap);
}
}
+
+ public double length(double high, double low) {
Review Comment:
This method looks quite wired in this class, we don't just keep this logic in StatisticRange
--
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.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org