File tree Expand file tree Collapse file tree
api/src/test/java/org/opensearch/sql/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88import static org .junit .Assert .assertNotNull ;
99import static org .junit .Assert .assertThrows ;
10- import static org .mockito .Mockito .when ;
1110
1211import java .util .Map ;
1312import org .apache .calcite .rel .RelNode ;
@@ -199,18 +198,13 @@ public void testPlanPropagatingSyntaxCheckException() {
199198
200199 @ Test
201200 public void testJoinQuery () {
202- when (testSettings .getSettingValue (Settings .Key .CALCITE_SUPPORT_ALL_JOIN_TYPES ))
203- .thenReturn (true );
204-
205201 UnifiedQueryPlanner planner = UnifiedQueryPlanner .builder ()
206202 .language (QueryType .PPL )
207203 .catalog ("opensearch" , testSchema )
208204 .defaultNamespace ("opensearch" )
209205 .settings (testSettings )
210206 .build ();
211207
212- planner .plan (
213- "source = index | join on index.id = index2.id index2"
214- );
208+ planner .plan ("source = index | join on index.id = index2.id index2" );
215209 }
216210}
You can’t perform that action at this time.
0 commit comments