Skip to content

fix: return non-empty metadata for DataBoost queries #3936

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2025

Conversation

olavloite
Copy link
Collaborator

Queries that use the PartitionedQuery API in combination with DataBoost can return completely empty result sets (no results and no metadata) for some partitions. The MergedResultSet should ignore these result sets and not use them as the source of metadata for the merged result.

Queries that use the PartitionedQuery API in combination with DataBoost can return
completely empty result sets (no results and no metadata) for some partitions. The
MergedResultSet should ignore these result sets and not use them as the source of
metadata for the merged result.
@olavloite olavloite requested review from a team as code owners July 1, 2025 13:33
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: spanner Issues related to the googleapis/java-spanner API. labels Jul 1, 2025
@olavloite olavloite requested a review from sakthivelmanii July 1, 2025 13:53
@olavloite olavloite merged commit 79c0684 into main Jul 1, 2025
42 checks passed
@olavloite olavloite deleted the return-metadata-from-non-empty-result branch July 1, 2025 15:07
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request Jul 11, 2025
| Package | Type | Package file | Manager | Update | Change |
|---|---|---|---|---|---|
|
[com.google.cloud:google-cloud-spanner](https://github.com/googleapis/java-spanner)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`6.96.1` -> `6.97.0` |

---

### Release Notes

<details>
<summary>googleapis/java-spanner
(com.google.cloud:google-cloud-spanner)</summary>

###
[`v6.97.0`](https://github.com/googleapis/java-spanner/blob/HEAD/CHANGELOG.md#6970-2025-07-10)

##### Features

- Next release from main branch is 6.97.0
([#&#8203;3984](googleapis/java-spanner#3984))
([5651f61](googleapis/java-spanner@5651f61))

##### Bug Fixes

- Drop max message size
([#&#8203;3987](googleapis/java-spanner#3987))
([3eee899](googleapis/java-spanner@3eee899))
- Return non-empty metadata for DataBoost queries
([#&#8203;3936](googleapis/java-spanner#3936))
([79c0684](googleapis/java-spanner@79c0684))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am
every weekday" in timezone Australia/Melbourne, Automerge - At any time
(no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, 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 has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

GitOrigin-RevId: 3785bc4fbcfc772b23d1b768da27532aece1a1d9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants