File tree Expand file tree Collapse file tree
integ-test/src/test/java/org/opensearch/sql/security Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -290,21 +290,29 @@ public void testCrossClusterAppend() throws IOException {
290290
291291 @ Test
292292 public void testCrossClusterConvert () throws IOException {
293+ enableCalcite ();
294+
293295 JSONObject result =
294296 executeQuery (
295297 String .format (
296298 "search source=%s | convert auto(balance) | fields balance" ,
297299 TEST_INDEX_BANK_REMOTE ));
298300 verifyColumn (result , columnName ("balance" ));
301+
302+ disableCalcite ();
299303 }
300304
301305 @ Test
302306 public void testCrossClusterConvertWithAlias () throws IOException {
307+ enableCalcite ();
308+
303309 JSONObject result =
304310 executeQuery (
305311 String .format (
306312 "search source=%s | convert auto(balance) AS balance_num | fields balance_num" ,
307313 TEST_INDEX_BANK_REMOTE ));
308314 verifyColumn (result , columnName ("balance_num" ));
315+
316+ disableCalcite ();
309317 }
310318}
You can’t perform that action at this time.
0 commit comments