Skip to content

bigquery: add new fields to JobStatistics / LoadStatistics #12293

@joshk0

Description

@joshk0

Is your feature request related to a problem? Please describe.

Not currently a problem but would assist with some tooling I am building.

Describe the solution you'd like

I have LOAD jobs have statistics that look like this:

 "statistics": {
    "creationTime": "1747417901734",
    "startTime": "1747417902028",
    "completionRatio": 0.5262425447316104,
    "totalSlotMs": "62493199",
    "reservation_id": "<redacted>",
    "edition": "STANDARD"
  },

I believe the completionRatio is populated on LOAD jobs, and in the official documentation of Job, it's described as:

Output only. [TrustedTester] Job progress (0.0 -> 1.0) for LOAD and EXTRACT jobs.

Can this field be populated into the LoadStatistics structure? (which I believe is where the change would need to be made?)

Describe alternatives you've considered

The google.golang.org raw API binding does contain this field but I don't want to use that client.

Additional context

N/A

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the BigQuery API.priority: p2Moderately-important priority. Fix may not be included in next release.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions