RustedBones commented on code in PR #33163: URL: https://github.com/apache/beam/pull/33163#discussion_r1861744256
########## sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java: ########## @@ -3625,7 +3622,8 @@ private <DestinationT> WriteResult expandTyped( hasSchema, "A schema must be provided if an avroFormatFunction " + "is set but no avroSchemaFactory is defined."); - avroSchemaFactory = DEFAULT_AVRO_SCHEMA_FACTORY; + avroSchemaFactory = + (tableSchema) -> BigQueryUtils.toGenericAvroSchema(tableSchema, true); Review Comment: Right, I messed up with `BigQueryUtils.toGenericAvroSchema` which has opposite default -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org