presto-main/src/main/java/io/prestosql/execution/DataDefinitionExecution.java/DataDefinitionExecution/setMemoryPool
class DataDefinitionExecution:    @Override
    public void setMemoryPool(VersionedMemoryPoolId poolId)
    {
        stateMachine.setMemoryPool(poolId);
    }