Skip to content

BigQuery: add missing query statistics.#3253

Merged
shollyman merged 4 commits intogoogleapis:masterfrom
shollyman:morestuff
May 22, 2018
Merged

BigQuery: add missing query statistics.#3253
shollyman merged 4 commits intogoogleapis:masterfrom
shollyman:morestuff

Conversation

@shollyman
Copy link
Copy Markdown
Contributor

Plumb through statistics in the API representation for query statistics:

Statement Type: SELECT, INSERT, CREATE_TABLE, etc
DDL Target Table and Operation Performed (how DDL statements manipulate their target)
DML: number of affected rows (e.g. rows affected by a UPDATE ... WHERE ...)
Referenced Tables: which tables were referenced by a query.
Total Partitions Processed
Total slot-milliseconds (query cost from a computation standpoint)

@shollyman shollyman requested review from pongad and tswast May 10, 2018 22:49
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 10, 2018
Copy link
Copy Markdown
Contributor

@tswast tswast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but unsure on whether we need an enum for statement type.

* CREATE_VIEW
* DROP_VIEW
*/
public String getStatementType() { return statementType; }

This comment was marked as spam.

This comment was marked as spam.

private final TableId ddlTargetTable;
private final Long estimatedBytesProcessed;
private final Long numDmlAffectedRows;
private final List<TableId> referencedTables;

This comment was marked as spam.

This comment was marked as spam.

@shollyman shollyman merged commit f1a0d3b into googleapis:master May 22, 2018
@shollyman shollyman deleted the morestuff branch May 22, 2018 20:04
chingor13 pushed a commit that referenced this pull request Mar 24, 2026
)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[org.mockito:mockito-core](https://redirect.github.com/mockito/mockito)
| `5.13.0` -> `5.14.1` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.mockito:mockito-core/5.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.mockito:mockito-core/5.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.mockito:mockito-core/5.13.0/5.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.mockito:mockito-core/5.13.0/5.14.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>mockito/mockito (org.mockito:mockito-core)</summary>

###
[`v5.14.1`](https://redirect.github.com/mockito/mockito/releases/tag/v5.14.1)

#### What's Changed

- Bump bytebuddy from 1.15.2 to 1.15.3 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[https://github.com/mockito/mockito/pull/3452](https://redirect.github.com/mockito/mockito/pull/3452)
- fix: gradle mockitoAgent configuration should not be transitive by
[@&#8203;bric3](https://redirect.github.com/bric3) in
[https://github.com/mockito/mockito/pull/3454](https://redirect.github.com/mockito/mockito/pull/3454)

**Full Changelog**:
mockito/mockito@v5.14.0...v5.14.1

###
[`v5.14.0`](https://redirect.github.com/mockito/mockito/releases/tag/v5.14.0)

<sup><sup>*Changelog generated by [Shipkit Changelog Gradle
Plugin](https://redirect.github.com/shipkit/shipkit-changelog)*</sup></sup>

##### 5.14.0

- 2024-09-27 - [9
commit(s)](https://redirect.github.com/mockito/mockito/compare/v5.13.0...v5.14.0)
by Ali-Hassan, Brice Dutheil, David Saff, Rafael Winterhalter,
dependabot\[bot]
- Bump org.junit.platform:junit-platform-launcher from 1.11.0 to 1.11.1
[(#&#8203;3451)](https://redirect.github.com/mockito/mockito/pull/3451)
- Bump bytebuddy from 1.15.1 to 1.15.2
[(#&#8203;3450)](https://redirect.github.com/mockito/mockito/pull/3450)
- Update Documentation of ArgumentCaptor.java
[(#&#8203;3448)](https://redirect.github.com/mockito/mockito/pull/3448)
- Split subprojects
[(#&#8203;3447)](https://redirect.github.com/mockito/mockito/pull/3447)
- Separate extensions from integration tests
[(#&#8203;3443)](https://redirect.github.com/mockito/mockito/issues/3443)
- Bump org.eclipse.platform:org.eclipse.osgi from 3.20.0 to 3.21.0
[(#&#8203;3440)](https://redirect.github.com/mockito/mockito/pull/3440)
- Bump com.gradle.enterprise from 3.18 to 3.18.1
[(#&#8203;3439)](https://redirect.github.com/mockito/mockito/pull/3439)
- Allow for installing a Java agent within the Mockito jar, without
exposing Byte Buddy's attach mechanism.
[(#&#8203;3437)](https://redirect.github.com/mockito/mockito/pull/3437)
- Bump bytebuddy from 1.15.0 to 1.15.1
[(#&#8203;3434)](https://redirect.github.com/mockito/mockito/pull/3434)
- Fixes
[#&#8203;3419](https://redirect.github.com/mockito/mockito/issues/3419):
Disable mocks with an error message
[(#&#8203;3424)](https://redirect.github.com/mockito/mockito/pull/3424)
- Accessing a mock after clearInlineMocks could provide much more useful
error message.
[(#&#8203;3419)](https://redirect.github.com/mockito/mockito/issues/3419)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/googleapis/sdk-platform-java).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
chingor13 pushed a commit that referenced this pull request Mar 24, 2026
chingor13 pushed a commit that referenced this pull request Mar 30, 2026
#3253)

* chore: Update generation configuration at Wed Aug 20 02:29:59 UTC 2025

* chore: generate libraries at Wed Aug 20 02:30:32 UTC 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants