reuvenlax commented on code in PR #24145:
URL: https://github.com/apache/beam/pull/24145#discussion_r1063781001


##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/StorageApiDynamicDestinationsBeamRow.java:
##########
@@ -61,9 +61,15 @@ public TableSchema getTableSchema() {
     }
 
     @Override
+    @SuppressWarnings("nullness")
     public StorageApiWritePayload toMessage(T element) {
       Message msg = BeamRowToStorageApiProto.messageFromBeamRow(descriptor, 
toRow.apply(element));
-      return new AutoValue_StorageApiWritePayload(msg.toByteArray());
+      return new AutoValue_StorageApiWritePayload(msg.toByteArray(), null);
+    }
+
+    @Override
+    public StorageApiWritePayload toMessage(TableRow tableRow, boolean 
respectRequired) {
+      throw new RuntimeException("Not supported");

Review Comment:
   done



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

Reply via email to