File tree Expand file tree Collapse file tree
integ-test/src/test/java/org/opensearch/sql/calcite/remote Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66package org .opensearch .sql .calcite .remote ;
77
8- import static org .opensearch .sql .util .MatcherUtils .assertJsonEqualsIgnoreId ;
9-
108import java .io .IOException ;
119import org .junit .Ignore ;
12- import org .junit .jupiter .api .Test ;
1310import org .opensearch .sql .ppl .ExplainIT ;
1411
1512public class CalciteExplainIT extends ExplainIT {
@@ -23,20 +20,4 @@ public void init() throws Exception {
2320 @ Override
2421 @ Ignore ("test only in v2" )
2522 public void testExplainModeUnsupportedInV2 () throws IOException {}
26-
27- @ Test
28- public void testFilterByCompareStringTimestampPushDownExplain () throws IOException {
29- String expected =
30- isCalciteEnabled ()
31- ? loadFromFile (
32- "expectedOutput/calcite/explain_filter_push_compare_timestamp_string.json" )
33- : loadFromFile ("expectedOutput/ppl/explain_filter_push_compare_timestamp_string.json" );
34-
35- assertJsonEqualsIgnoreId (
36- expected ,
37- explainQueryToString (
38- "source=opensearch-sql_test_index_bank"
39- + "| where birthdate > '2016-12-08 00:00:00.000000000' "
40- + "| where birthdate < '2018-11-09 00:00:00.000000000' " ));
41- }
4223}
You can’t perform that action at this time.
0 commit comments