diff --git a/core/src/main/java/org/opensearch/sql/expression/DSL.java b/core/src/main/java/org/opensearch/sql/expression/DSL.java index 40d372508b..92300121a5 100644 --- a/core/src/main/java/org/opensearch/sql/expression/DSL.java +++ b/core/src/main/java/org/opensearch/sql/expression/DSL.java @@ -331,7 +331,7 @@ public static FunctionExpression dayofyear(Expression... expressions) { } public static FunctionExpression day_of_year(Expression... expressions) { - return compile(BuiltinFunctionName.DAY_OF_YEAR, expressions); + return compile(FunctionProperties.None, BuiltinFunctionName.DAY_OF_YEAR, expressions); } public static FunctionExpression from_days(Expression... expressions) {