presto-ml/src/main/java/io/prestosql/plugin/ml/LearnStateSerializer.java/LearnStateSerializer/serialize
class LearnStateSerializer:    @Override
    public void serialize(LearnState state, BlockBuilder out)
    {
        throw new UnsupportedOperationException("LEARN must run on a single machine");
    }