Abacn commented on code in PR #28274:
URL: https://github.com/apache/beam/pull/28274#discussion_r1324984327
##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java:
##########
@@ -689,7 +696,7 @@ public void setSchema(org.apache.avro.Schema schema) {
@Override
public T read(T reuse, Decoder in) throws IOException {
GenericRecord record = (GenericRecord) this.reader.read(reuse, in);
- return parseFn.apply(new SchemaAndRecord(record,
this.tableSchema.get()));
+ return parseFn.apply(new SchemaAndRecord(record, this.tableSchema));
Review Comment:
I digged into this was added back to
https://github.com/apache/beam/pull/3603/commits/7fde976d14fe697dd88d2b161540c73d5cb01517
(https://issues.apache.org/jira/browse/BEAM-2532) then refactored into
BigQueryIO.java by #22718. Is BEAM-2532 no longer an issue?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]