presto-main/src/main/java/io/prestosql/dispatcher/LocalDispatchQuery.java/LocalDispatchQuery/getFullQueryInfo
class LocalDispatchQuery:    @Override
    public QueryInfo getFullQueryInfo()
    {
        return tryGetQueryExecution()
                .map(QueryExecution::getQueryInfo)
                .orElseGet(() -> stateMachine.updateQueryInfo(Optional.empty()));
    }