Skip to content

Commit

Permalink
[fix](histogram) Fix histgrom nullable properties on branch-2.1 (#40638)
Browse files Browse the repository at this point in the history
nullable property of histogram on master is changed by
#37330
pick it to branch-2.1
related change on 2.1: #38608,
#38608 relies on AlwaysNotNullable property.
  • Loading branch information
zhiqiang-hhhh authored Sep 11, 2024
1 parent d6f4599 commit ab8f9f7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

import org.apache.doris.catalog.FunctionSignature;
import org.apache.doris.nereids.trees.expressions.Expression;
import org.apache.doris.nereids.trees.expressions.functions.AlwaysNotNullable;
import org.apache.doris.nereids.trees.expressions.functions.ExplicitlyCastableSignature;
import org.apache.doris.nereids.trees.expressions.functions.PropagateNullable;
import org.apache.doris.nereids.trees.expressions.functions.SearchSignature;
import org.apache.doris.nereids.trees.expressions.visitor.ExpressionVisitor;
import org.apache.doris.nereids.types.DoubleType;
Expand All @@ -37,7 +37,7 @@
* AggregateFunction 'histogram'. This class is generated by GenerateFunction.
*/
public class Histogram extends AggregateFunction
implements ExplicitlyCastableSignature, PropagateNullable {
implements ExplicitlyCastableSignature, AlwaysNotNullable {

public static final List<FunctionSignature> SIGNATURES = ImmutableList.of(
FunctionSignature.ret(VarcharType.SYSTEM_DEFAULT)
Expand Down

0 comments on commit ab8f9f7

Please sign in to comment.