public static <T> Globally<T> globally() {
    return new AutoValue_ApproximateCountDistinct_Globally.Builder<T>()
        .setPrecision(HllCount.DEFAULT_PRECISION)
        .build();
  }
@Test
  @Category(NeedsRunner.class)
  public void testStandardTypesGlobalForStrings() {
    PCollection<Long> approxResultString =
        p.apply("Str", Create.of(INTS1.stream().map(String::valueOf).collect(Collectors.toList())))
            .apply("StrHLL", ApproximateCountDistinct.globally());

    PAssert.thatSingleton(approxResultString).isEqualTo(INTS1_ESTIMATE);

    p.run();
  }