From 1462f535626cd45b339461078cab241f70db52c6 Mon Sep 17 00:00:00 2001 From: MitchellGale-BitQuill Date: Sun, 18 Dec 2022 18:22:35 -0800 Subject: [PATCH] removed `DateTimeFunction` used within class. Signed-off-by: MitchellGale-BitQuill --- .../sql/expression/datetime/DateTimeFunction.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/org/opensearch/sql/expression/datetime/DateTimeFunction.java b/core/src/main/java/org/opensearch/sql/expression/datetime/DateTimeFunction.java index cf4162ac7a..ed8063d8ff 100644 --- a/core/src/main/java/org/opensearch/sql/expression/datetime/DateTimeFunction.java +++ b/core/src/main/java/org/opensearch/sql/expression/datetime/DateTimeFunction.java @@ -576,7 +576,7 @@ private FunctionResolver unix_timestamp() { private DefaultFunctionResolver utc_date() { return define(BuiltinFunctionName.UTC_DATE.getName(), implWithProperties(functionProperties - -> DateTimeFunction.exprUtcDate(functionProperties), DATE)); + -> exprUtcDate(functionProperties), DATE)); } /** @@ -585,7 +585,7 @@ private DefaultFunctionResolver utc_date() { private DefaultFunctionResolver utc_time() { return define(BuiltinFunctionName.UTC_TIME.getName(), implWithProperties(functionProperties - -> DateTimeFunction.exprUtcTime(functionProperties), TIME)); + -> exprUtcTime(functionProperties), TIME)); } /** @@ -594,7 +594,7 @@ private DefaultFunctionResolver utc_time() { private DefaultFunctionResolver utc_timestamp() { return define(BuiltinFunctionName.UTC_TIMESTAMP.getName(), implWithProperties(functionProperties - -> DateTimeFunction.exprUtcTimeStamp(functionProperties), DATETIME)); + -> exprUtcTimeStamp(functionProperties), DATETIME)); } /**