From fd20fd00f4590bdf0b32309e68118754986580ab Mon Sep 17 00:00:00 2001 From: currantw Date: Fri, 13 Dec 2024 09:49:20 -0800 Subject: [PATCH] Fix spotless Signed-off-by: currantw --- .../opensearch/sql/ppl/parser/AstBuilderTest.java | 15 +++------------ 1 file changed, 3 insertions(+), 12 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 e33a1bbbcd..0d2541c8f9 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 @@ -712,10 +712,7 @@ public void testTrendlineSort() { "source=t | trendline sort test_field sma(5, test_field)", trendline( relation("t"), - Optional.of( - field( - "test_field", - argument("asc", booleanLiteral(true)))), + Optional.of(field("test_field", argument("asc", booleanLiteral(true)))), computation(5, field("test_field"), "test_field_trendline", SMA))); } @@ -725,10 +722,7 @@ public void testTrendlineSortDesc() { "source=t | trendline sort - test_field sma(5, test_field)", trendline( relation("t"), - Optional.of( - field( - "test_field", - argument("asc", booleanLiteral(false)))), + Optional.of(field("test_field", argument("asc", booleanLiteral(false)))), computation(5, field("test_field"), "test_field_trendline", SMA))); } @@ -738,10 +732,7 @@ public void testTrendlineSortAsc() { "source=t | trendline sort + test_field sma(5, test_field)", trendline( relation("t"), - Optional.of( - field( - "test_field", - argument("asc", booleanLiteral(true)))), + Optional.of(field("test_field", argument("asc", booleanLiteral(true)))), computation(5, field("test_field"), "test_field_trendline", SMA))); }