Using AutoValueSchema in Apache Beam PCollection gives `RuntimeException: Creator parameter arg0 Doesn't correspond to a schema field`
问题 I am trying to have a PCollection of AutoValue-defined objects that I have created, and I've added the appropriate annotations to infer the Schema via DefaultSchema(AutoValueSchema.class) . Like so: @DefaultSchema(AutoValueSchema.class) @AutoValue public abstract class MyAutoClas { public abstract String getMyStr(); public abstract Integer getMyInt(); @CreateSchema public static MyAutoClass create(String myStr, Integer myInt) { return new AutoValue_MyAutoClass(myStr, myInt); } } I have a