Skip to content

Commit

Permalink
Always use US location for datasets (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristinaleonr authored Jun 13, 2023
1 parent 504e3e5 commit dbcfc92
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bq/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ func (c *Client) CreateDataset(ctx context.Context, dt *api.Datatype) (bqiface.D
ds := c.Dataset(dt.Dataset())
err := ds.Create(ctx, &bqiface.DatasetMetadata{
DatasetMetadata: bigquery.DatasetMetadata{
Name: dt.Dataset(),
Location: dt.Location,
Name: dt.Dataset(),
// TODO(github.com/m-lab/gcp-config/issues/73): Fix bucket location.
Location: "US",
},
})
return ds, err
Expand Down

0 comments on commit dbcfc92

Please sign in to comment.