chamikaramj commented on a change in pull request #11292: [BEAM-9674] Don't 
specify selected fields when fetching BigQuery table size
URL: https://github.com/apache/beam/pull/11292#discussion_r409107026
 
 

 ##########
 File path: 
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryStorageSourceBase.java
 ##########
 @@ -149,11 +151,14 @@
       return ImmutableList.of();
     }
 
+    Schema sessionSchema = new 
Schema.Parser().parse(readSession.getAvroSchema().getSchema());
 
 Review comment:
   Not sure how this trims the schema ? Does readSession.getAvroSchema() 
somehow has a smaller number of fields than targetTable.getSchema() ?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to