This is an automated email from the ASF dual-hosted git repository.
lihaopeng pushed a commit to branch vectorized
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/vectorized by this push:
new 27d0b07 [Function] Fix error about rank/dense_rank/row_number return
always not nullable (#7561)
27d0b07 is described below
commit 27d0b077f8ad3039c348987b4ef46064735851cd
Author: zhangstar333 <[email protected]>
AuthorDate: Tue Jan 4 11:05:32 2022 +0800
[Function] Fix error about rank/dense_rank/row_number return always not
nullable (#7561)
---
.../src/main/java/org/apache/doris/catalog/AggregateFunction.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/catalog/AggregateFunction.java
b/fe/fe-core/src/main/java/org/apache/doris/catalog/AggregateFunction.java
index a45ec0f..18bc954 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/AggregateFunction.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/AggregateFunction.java
@@ -49,7 +49,7 @@ public class AggregateFunction extends Function {
private static final Logger LOG =
LogManager.getLogger(AggregateFunction.class);
public static ImmutableSet<String>
NOT_NULLABLE_AGGREGATE_FUNCTION_NAME_SET =
- ImmutableSet.of(FunctionSet.COUNT, "ndv",
FunctionSet.BITMAP_UNION_INT, FunctionSet.BITMAP_UNION_COUNT,
"ndv_no_finalize");
+ ImmutableSet.of("row_number", "rank", "dense_rank",
FunctionSet.COUNT, "ndv", FunctionSet.BITMAP_UNION_INT,
FunctionSet.BITMAP_UNION_COUNT, "ndv_no_finalize");
// Set if different from retType_, null otherwise.
private Type intermediateType;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]