From a8f01d1321416409db6b6ce81af4ec86c041dc1c Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Wed, 26 Jun 2024 23:43:35 -0700 Subject: [PATCH 1/2] 150 kb instead of 50kb. --- clients/bigquery/bigquery.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/bigquery/bigquery.go b/clients/bigquery/bigquery.go index 585ab4e53..7316d637f 100644 --- a/clients/bigquery/bigquery.go +++ b/clients/bigquery/bigquery.go @@ -34,8 +34,8 @@ const ( describeNameCol = "column_name" describeTypeCol = "data_type" describeCommentCol = "description" - // Storage Write API is limited to 10 MiB, subtract 50 KiB to account for request overhead. - maxRequestByteSize = (10 * 1024 * 1024) - (50 * 1024) + // Storage Write API is limited to 10 MiB, subtract 150 KiB to account for request overhead. + maxRequestByteSize = (10 * 1024 * 1024) - (150 * 1024) ) type Store struct { From 215f5e27c0c2ea8270fcb8480af5aca8000df2d7 Mon Sep 17 00:00:00 2001 From: Robin Tang Date: Wed, 26 Jun 2024 23:51:49 -0700 Subject: [PATCH 2/2] 250 --- clients/bigquery/bigquery.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/bigquery/bigquery.go b/clients/bigquery/bigquery.go index 7316d637f..d3c9f5029 100644 --- a/clients/bigquery/bigquery.go +++ b/clients/bigquery/bigquery.go @@ -34,8 +34,8 @@ const ( describeNameCol = "column_name" describeTypeCol = "data_type" describeCommentCol = "description" - // Storage Write API is limited to 10 MiB, subtract 150 KiB to account for request overhead. - maxRequestByteSize = (10 * 1024 * 1024) - (150 * 1024) + // Storage Write API is limited to 10 MiB, subtract 250 KiB to account for request overhead. + maxRequestByteSize = (10 * 1024 * 1024) - (250 * 1024) ) type Store struct {