From 9497644f8f3ef1a696f348568fe30bc5d32d8a90 Mon Sep 17 00:00:00 2001 From: Lantao Jin Date: Fri, 10 Jan 2025 15:11:21 +0800 Subject: [PATCH] address datetype diff between 2.x and main Signed-off-by: Lantao Jin --- .../test/java/org/opensearch/sql/ppl/DateTimeFunctionIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integ-test/src/test/java/org/opensearch/sql/ppl/DateTimeFunctionIT.java b/integ-test/src/test/java/org/opensearch/sql/ppl/DateTimeFunctionIT.java index 880c56bf5a..83a19335c9 100644 --- a/integ-test/src/test/java/org/opensearch/sql/ppl/DateTimeFunctionIT.java +++ b/integ-test/src/test/java/org/opensearch/sql/ppl/DateTimeFunctionIT.java @@ -1541,7 +1541,7 @@ public void testStrToDate() throws IOException { String.format( "source=%s | eval f = str_to_date('1-May-13', '%s') | fields f", TEST_INDEX_DATE, "%d-%b-%y")); - verifySchema(result, schema("f", null, "timestamp")); + verifySchema(result, schema("f", null, "datetime")); verifySome(result.getJSONArray("datarows"), rows("2013-05-01 00:00:00")); }