public static ShowResultSet execute(ShowStmt statement, ConnectContext context) {
        return GlobalStateMgr.getCurrentState().getShowExecutor().showExecutorVisitor.visit(statement, context);
    }
@Test
    public void testShowDb() throws AnalysisException, DdlException {
        ctx.setCurrentUserIdentity(UserIdentity.ROOT);
        ctx.setCurrentRoleIds(Sets.newHashSet(PrivilegeBuiltinConstants.ROOT_ROLE_ID));

        ShowDbStmt stmt = new ShowDbStmt(null);

        ShowResultSet resultSet = ShowExecutor.execute(stmt, ctx);

        Assert.assertTrue(resultSet.next());
        Assert.assertEquals("Database", resultSet.getMetaData().getColumn(0).getName());
        Assert.assertEquals(resultSet.getResultRows().get(0).get(0), "testDb");
    }