TheNeuralBit commented on a change in pull request #14586:
URL: https://github.com/apache/beam/pull/14586#discussion_r648501136



##########
File path: 
sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIOStorageReadTest.java
##########
@@ -1351,4 +1353,20 @@ public void testReadFromBigQueryIOWithTrimmedSchema() 
throws Exception {
 
     p.run();
   }
+
+  private static org.apache.arrow.vector.types.pojo.Field field(

Review comment:
       `ArrowConversion` can convert an Arrow schema to a Beam schema. You 
should probably follow the pattern you're using for the data (Arrow to Beam 
rows to Avro records to BigQuery TableRows):
   - Arrow schema Beam Schema (using ArrowConversion)
   - Beam Schema to `AvroSchema` (using AvroUtils)
   - `AvroSchema` to BigQuery `TableSchema` (using  BigQueryAvroUtils)




-- 
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]


Reply via email to