public static ShowResultSet execute(ShowStmt statement, ConnectContext context) {
        return GlobalStateMgr.getCurrentState().getShowExecutor().showExecutorVisitor.visit(statement, context);
    }
@Test
    public void testShowVariable2() throws AnalysisException, DdlException {
        ShowVariablesStmt stmt = new ShowVariablesStmt(SetType.VERBOSE, null);

        ShowResultSet resultSet = ShowExecutor.execute(stmt, ctx);
        Assert.assertEquals(4, resultSet.getMetaData().getColumnCount());
        Assert.assertEquals("Variable_name", resultSet.getMetaData().getColumn(0).getName());
        Assert.assertEquals("Value", resultSet.getMetaData().getColumn(1).getName());
        Assert.assertEquals("Default_value", resultSet.getMetaData().getColumn(2).getName());
        Assert.assertEquals("Is_changed", resultSet.getMetaData().getColumn(3).getName());

        Assert.assertTrue(resultSet.getResultRows().size() > 0);
        Assert.assertEquals(4, resultSet.getResultRows().get(0).size());

        ShowVariablesStmt stmt2 = new ShowVariablesStmt(SetType.VERBOSE, "query_%");
        ShowResultSet resultSet2 = ShowExecutor.execute(stmt2, ctx);
        Assert.assertEquals(4, resultSet2.getMetaData().getColumnCount());
        Assert.assertTrue(resultSet2.getResultRows().size() > 0);
        Assert.assertEquals(4, resultSet2.getResultRows().get(0).size());
    }