Skip to content

Commit

Permalink
BigQueryIO.Write: raise size limit to 11 TiB (apache#401)
Browse files Browse the repository at this point in the history
BigQuery has changed their total size quota to 12 TiB.
https://cloud.google.com/bigquery/quota-policy#import
  • Loading branch information
dhalperi authored Aug 26, 2016
1 parent f8f4701 commit 9c34b03
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1463,8 +1463,8 @@ public static class Bound extends PTransform<PCollection<TableRow>, PDone> {
// Maximum number of files in a single partition.
static final int MAX_NUM_FILES = 10000;

// Maximum number of bytes in a single partition.
static final long MAX_SIZE_BYTES = 3 * (1L << 40);
// Maximum number of bytes in a single partition -- 11 TiB just under BQ's 12 TiB limit.
static final long MAX_SIZE_BYTES = 11 * (1L << 40);

// The maximum number of retry jobs.
static final int MAX_RETRY_JOBS = 3;
Expand Down

0 comments on commit 9c34b03

Please sign in to comment.