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 .List ;
1312import java .util .Map ;
@@ -202,18 +201,13 @@ public void testPlanPropagatingSyntaxCheckException() {
202201
203202 @ Test
204203 public void testJoinQuery () {
205- when (testSettings .getSettingValue (Settings .Key .CALCITE_SUPPORT_ALL_JOIN_TYPES ))
206- .thenReturn (true );
207-
208204 UnifiedQueryPlanner planner = UnifiedQueryPlanner .builder ()
209205 .language (QueryType .PPL )
210206 .catalog ("opensearch" , testSchema )
211207 .defaultNamespace ("opensearch" )
212208 .settings (testSettings )
213209 .build ();
214210
215- planner .plan (
216- "source = index | join on index.id = index2.id index2"
217- );
211+ planner .plan ("source = index | join on index.id = index2.id index2" );
218212 }
219213}
You can’t perform that action at this time.
0 commit comments