ahmedabu98 commented on code in PR #30186:
URL: https://github.com/apache/beam/pull/30186#discussion_r1474727754


##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/providers/BigQueryStorageWriteApiSchemaTransformProvider.java:
##########
@@ -383,13 +383,6 @@ public PCollectionRowTuple expand(PCollectionRowTuple 
input) {
         Boolean autoSharding = configuration.getAutoSharding();
         int numStreams = configuration.getNumStreams() == null ? 0 : 
configuration.getNumStreams();
 
-        // TODO(https://github.com/apache/beam/issues/30058): remove once 
Dataflow supports multiple
-        // DoFn's per fused step.
-        if (numStreams < 1) {
-          throw new IllegalStateException(
-              "numStreams must be set to a positive integer when input data is 
unbounded.");
-        }

Review Comment:
   Runner-specific checks should be done by the runner itself (in this case, 
this should be stopped on the Dataflow side). We'd rather not restrict all 
runners.



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