[go: up one dir, main page]

Skip to content

Commit

Permalink
fix(bigquery): include user_email field when requesting job informati…
Browse files Browse the repository at this point in the history
…on (#6256)

The field itself was added in the commit 7b18bf6,
but it was not added in the field allowlist.  Due to this missing, the function
has returned an empty string which is wrong.

Co-authored-by: shollyman <shollyman@google.com>
  • Loading branch information
seongwon77 and shollyman committed Aug 3, 2022
1 parent c6d3ba4 commit da42b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigquery/job.go
Expand Up @@ -63,7 +63,7 @@ func (c *Client) JobFromProject(ctx context.Context, projectID, jobID, location
ctx = trace.StartSpan(ctx, "cloud.google.com/go/bigquery.JobFromProject")
defer func() { trace.EndSpan(ctx, err) }()

bqjob, err := c.getJobInternal(ctx, jobID, location, projectID, "configuration", "jobReference", "status", "statistics")
bqjob, err := c.getJobInternal(ctx, jobID, location, projectID, "user_email", "configuration", "jobReference", "status", "statistics")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit da42b4e

Please sign in to comment.