From 774861b1f866c0d48191a7c414b6c1a7fa8b2acc Mon Sep 17 00:00:00 2001 From: currantw Date: Fri, 13 Dec 2024 08:46:30 -0800 Subject: [PATCH] Fix test failure due to merge. Signed-off-by: currantw --- .../org/opensearch/sql/ppl/parser/AstBuilderTest.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ppl/src/test/java/org/opensearch/sql/ppl/parser/AstBuilderTest.java b/ppl/src/test/java/org/opensearch/sql/ppl/parser/AstBuilderTest.java index adabd04505..e33a1bbbcd 100644 --- a/ppl/src/test/java/org/opensearch/sql/ppl/parser/AstBuilderTest.java +++ b/ppl/src/test/java/org/opensearch/sql/ppl/parser/AstBuilderTest.java @@ -715,8 +715,7 @@ public void testTrendlineSort() { Optional.of( field( "test_field", - argument("asc", booleanLiteral(true)), - argument("type", nullLiteral()))), + argument("asc", booleanLiteral(true)))), computation(5, field("test_field"), "test_field_trendline", SMA))); } @@ -729,8 +728,7 @@ public void testTrendlineSortDesc() { Optional.of( field( "test_field", - argument("asc", booleanLiteral(false)), - argument("type", nullLiteral()))), + argument("asc", booleanLiteral(false)))), computation(5, field("test_field"), "test_field_trendline", SMA))); } @@ -743,8 +741,7 @@ public void testTrendlineSortAsc() { Optional.of( field( "test_field", - argument("asc", booleanLiteral(true)), - argument("type", nullLiteral()))), + argument("asc", booleanLiteral(true)))), computation(5, field("test_field"), "test_field_trendline", SMA))); }