presto-main/src/main/java/io/prestosql/execution/DataDefinitionExecution.java/DataDefinitionExecution/getState
class DataDefinitionExecution:    @Override
    public QueryState getState()
    {
        return stateMachine.getQueryState();
    }