Skip to content
Permalink
Browse files
fix: the request limit should be 10MB instead of 8MB (#1289)
  • Loading branch information
yirutang committed Sep 3, 2021
1 parent c2dcf6f commit ed1ea00e25da1501d300f3c80ce0a17cc1f3d883
Showing with 1 addition and 1 deletion.
  1. +1 −1 ...cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamWriterV2.java
@@ -136,7 +136,7 @@ public class StreamWriterV2 implements AutoCloseable {

/** The maximum size of one request. Defined by the API. */
public static long getApiMaxRequestBytes() {
return 8L * 1000L * 1000L; // 8 megabytes (https://en.wikipedia.org/wiki/Megabyte)
return 10L * 1000L * 1000L; // 8 megabytes (https://en.wikipedia.org/wiki/Megabyte)
}

private StreamWriterV2(Builder builder) throws IOException {

0 comments on commit ed1ea00

Please sign in to comment.