@Override
    public QueryActionStats execute(Statement statement, QueryStage queryStage)
    {
        return execute(statement, queryStage, new NoResultStatementExecutor<>());
    }
@Test
    public void testQuerySucceeded()
    {
        assertEquals(
                prestoAction.execute(
                        sqlParser.createStatement("SELECT 1", PARSING_OPTIONS),
                        QUERY_STAGE).getQueryStats().map(QueryStats::getState).orElse(null),
                FINISHED.name());

        assertEquals(
                prestoAction.execute(
                        sqlParser.createStatement("CREATE TABLE test_table (x int)", PARSING_OPTIONS),
                        QUERY_STAGE).getQueryStats().map(QueryStats::getState).orElse(null),
                FINISHED.name());
    }