It should be possible to sample Scala PCollections.

Details

Description

The Java PCollection can be sampled for elements using the methods sample(double) and sample(double, long). The Scala PCollection should implement the same functionality by delegating to its underlying Java PCollection.