I'm trying the new display data functionality in Dataflow to make additional details show up in the Google Cloud Dataflow UI. However, the display data for custom PTransform's doesn't show up. In my Dataflow pipeline, I have a transform like:
Pipeline p = // ..
p.apply(new PTransform<PCollection<Integer>, PCollection<Integer>>() {
@Override
public PCollection<Integer> apply(PCollection<Integer> input) {
return input
.apply(/* .. */)
.apply(/* .. */)
.apply(/* .. */);
}
@Override
public void populateDisplayData(DisplayData.Builder builder) {
builder.add(DisplayData.item("foo", "bar"));
}
});
When I run the Dataflow job, the UI doesn't seem to show the foo=bar display data.