Skip to content

Commit

Permalink
address datetype diff between 2.x and main
Browse files Browse the repository at this point in the history
Signed-off-by: Lantao Jin <ltjin@amazon.com>
  • Loading branch information
LantaoJin committed Jan 10, 2025
1 parent 5938e77 commit 9497644
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}

Expand Down

0 comments on commit 9497644

Please sign in to comment.