File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
integ-test/src/test/java/org/opensearch/sql/calcite/remote Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments