Skip to content

Commit dff4522

Browse files
author
Selina Song
committed
spotless format
Signed-off-by: Selina Song <[email protected]>
1 parent d4d70c5 commit dff4522

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

integ-test/src/test/java/org/opensearch/sql/calcite/remote/CalciteExplainIT.java

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,19 +220,23 @@ public void testExplainWithReverse() throws IOException {
220220
public void testExplainWithReversePushdown() throws IOException {
221221
String query = "source=opensearch-sql_test_index_account | sort - age | reverse";
222222
var result = explainQueryToString(query);
223-
String expected = isPushdownEnabled()
224-
? loadFromFile("expectedOutput/calcite/explain_reverse_pushdown_single.json")
225-
: loadFromFile("expectedOutput/calcite_no_pushdown/explain_reverse_pushdown_single.json");
223+
String expected =
224+
isPushdownEnabled()
225+
? loadFromFile("expectedOutput/calcite/explain_reverse_pushdown_single.json")
226+
: loadFromFile(
227+
"expectedOutput/calcite_no_pushdown/explain_reverse_pushdown_single.json");
226228
assertJsonEqualsIgnoreId(expected, result);
227229
}
228230

229231
@Test
230232
public void testExplainWithReversePushdownMultipleFields() throws IOException {
231233
String query = "source=opensearch-sql_test_index_account | sort - age, + firstname | reverse";
232234
var result = explainQueryToString(query);
233-
String expected = isPushdownEnabled()
234-
? loadFromFile("expectedOutput/calcite/explain_reverse_pushdown_multiple.json")
235-
: loadFromFile("expectedOutput/calcite_no_pushdown/explain_reverse_pushdown_multiple.json");
235+
String expected =
236+
isPushdownEnabled()
237+
? loadFromFile("expectedOutput/calcite/explain_reverse_pushdown_multiple.json")
238+
: loadFromFile(
239+
"expectedOutput/calcite_no_pushdown/explain_reverse_pushdown_multiple.json");
236240
assertJsonEqualsIgnoreId(expected, result);
237241
}
238242

0 commit comments

Comments
 (0)