Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/function-1' into function-1
Browse files Browse the repository at this point in the history
  • Loading branch information
liugddx committed Feb 3, 2024
2 parents e8f6367 + 55c9436 commit ffc11be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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.AlwaysNullable;
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.visitor.ExpressionVisitor;
import org.apache.doris.nereids.types.StringType;
import org.apache.doris.nereids.types.VarcharType;
Expand All @@ -34,11 +34,11 @@
* ScalarFunction 'url_decode'. This class is generated by GenerateFunction.
*/
public class UrlDecode extends ScalarFunction
implements ExplicitlyCastableSignature, AlwaysNullable {
implements ExplicitlyCastableSignature, PropagateNullable {

public static final List<FunctionSignature> SIGNATURES = ImmutableList.of(
FunctionSignature.ret(VarcharType.SYSTEM_DEFAULT).args(VarcharType.SYSTEM_DEFAULT),
FunctionSignature.ret(VarcharType.SYSTEM_DEFAULT).args(StringType.INSTANCE)
FunctionSignature.ret(StringType.INSTANCE).args(StringType.INSTANCE)
);

/**
Expand Down
1 change: 0 additions & 1 deletion gensrc/script/doris_builtins_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1662,7 +1662,6 @@
[['money_format'], 'STRING', ['DECIMAL64'], ''],
[['money_format'], 'STRING', ['DECIMAL128'], ''],
[['split_part'], 'STRING', ['STRING', 'STRING', 'INT'], 'ALWAYS_NULLABLE'],
[['substring_index'], 'STRING', ['STRING', 'STRING', 'INT'], 'ALWAYS_NULLABLE'],
[['substring_index'], 'STRING', ['STRING', 'STRING', 'INT'], 'DEPEND_ON_ARGUMENT'],
[['url_decode'], 'STRING', ['STRING'], '']
],
Expand Down

0 comments on commit ffc11be

Please sign in to comment.