Skip to content

Commit 00a6465

Browse files
committed
Revert "add IT"
This reverts commit f3b53af.
1 parent 0ccd9b4 commit 00a6465

3 files changed

Lines changed: 0 additions & 31 deletions

File tree

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

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import java.io.IOException;
1111
import org.junit.jupiter.api.Test;
1212
import org.opensearch.client.Request;
13-
import org.opensearch.sql.legacy.TestsConstants;
1413
import org.opensearch.sql.ppl.PPLIntegTestCase;
1514

1615
public class CalcitePPLExplainIT extends PPLIntegTestCase {
@@ -31,7 +30,6 @@ public void init() throws Exception {
3130
Request request3 = new Request("PUT", "/test1/_doc/1?refresh=true");
3231
request3.setJsonEntity("{\"name\": \"HELLO\", \"alias\": \"Hello\"}");
3332
client().performRequest(request3);
34-
loadIndex(Index.BANK);
3533
}
3634

3735
@Test
@@ -55,23 +53,6 @@ public void testExplainCommandExtended() throws IOException {
5553
+ " org.apache.calcite.DataContext root)"));
5654
}
5755

58-
@Test
59-
public void testFilterPushdown() throws IOException {
60-
var result =
61-
explainQueryToString(
62-
String.format(
63-
"source=%s | where birthdate < '2017-11-20 00:00:00'",
64-
TestsConstants.TEST_INDEX_BANK));
65-
String expected =
66-
isPushdownEnabled()
67-
? loadFromFile(
68-
"expectedOutput/calcite/explain_filter_compare_string_timestamp_w_pushdown.json")
69-
: loadFromFile(
70-
"expectedOutput/calcite/explain_filter_compare_string_timestamp_wo_pushdown.json");
71-
72-
assertJsonEquals(expected, result);
73-
}
74-
7556
@Test
7657
public void testExplainCommandCost() throws IOException {
7758
var result = executeWithReplace("explain cost source=test | where age = 20 | fields name, age");

integ-test/src/test/resources/expectedOutput/calcite/explain_filter_compare_string_timestamp_w_pushdown.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

integ-test/src/test/resources/expectedOutput/calcite/explain_filter_compare_string_timestamp_wo_pushdown.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)