From 224c61dae3a48640de3211df1f1fb3838a5be966 Mon Sep 17 00:00:00 2001 From: Tomoyuki Morita Date: Tue, 30 Apr 2024 21:15:33 -0700 Subject: [PATCH] Fix test failure in DefaultSparkSqlFunctionResponseHandleTest Signed-off-by: Tomoyuki Morita --- .../response/DefaultSparkSqlFunctionResponseHandleTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spark/src/test/java/org/opensearch/sql/spark/functions/response/DefaultSparkSqlFunctionResponseHandleTest.java b/spark/src/test/java/org/opensearch/sql/spark/functions/response/DefaultSparkSqlFunctionResponseHandleTest.java index b9e128e836..1a290b48b8 100644 --- a/spark/src/test/java/org/opensearch/sql/spark/functions/response/DefaultSparkSqlFunctionResponseHandleTest.java +++ b/spark/src/test/java/org/opensearch/sql/spark/functions/response/DefaultSparkSqlFunctionResponseHandleTest.java @@ -45,7 +45,7 @@ public void testConstruct() throws Exception { assertEquals(new ExprByteValue(5), row.get("col5")); assertEquals(new ExprDoubleValue(6.1), row.get("col6")); assertEquals(new ExprFloatValue(7.1), row.get("col7")); - assertEquals(new ExprTimestampValue("2024-01-02 03:04:05.1234"), row.get("col8")); + assertEquals(new ExprStringValue("2024-01-02 03:04:05.1234"), row.get("col8")); assertEquals(new ExprDateValue("2024-01-03 04:05:06.1234"), row.get("col9")); assertEquals(new ExprStringValue("some string"), row.get("col10"));