Skip to content
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

fix: Reduced count query complexity when possible #553

Merged
merged 2 commits into from
Mar 28, 2024
Merged

Conversation

BobdenOs
Copy link
Contributor

When the query does not have clauses that can rely on the output columns all columns are replaced. When there are clauses that might rely on the the output columns all expands are removed from the columns.

@BobdenOs BobdenOs enabled auto-merge (squash) March 28, 2024 09:19
@BobdenOs BobdenOs merged commit 3331f02 into main Mar 28, 2024
4 checks passed
@BobdenOs BobdenOs deleted the perf/simple-count branch March 28, 2024 09:22
@cap-bots cap-bots mentioned this pull request Mar 28, 2024
johannes-vogel added a commit that referenced this pull request Apr 12, 2024
🤖 I have created a release *beep* *boop*
---


<details><summary>db-service: 1.8.0</summary>

##
[1.8.0](db-service-v1.7.0...db-service-v1.8.0)
(2024-04-12)


### Added

* Odata built-in query functions
([#558](#558))
([6e63367](6e63367))
* support HANA stored procedures
([#542](#542))
([52a00a0](52a00a0))


### Fixed

* **`expand`:** Only accept on structures, assocs or table aliases
([#551](#551))
([3248512](3248512))
* **`order by`:** for localized sorting, prepend table alias
([#546](#546))
([a273a92](a273a92))
* etag with stream_compat
([#562](#562))
([b0a3a41](b0a3a41))
* exclude `cds.LargeBinary` from wildcard expansion
([#577](#577))
([6661d63](6661d63))
* Reduce insert queries for deep update
([#568](#568))
([55e5114](55e5114))
* Reduced count query complexity when possible
([#553](#553))
([3331f02](3331f02))
</details>

<details><summary>postgres: 1.7.0</summary>

##
[1.7.0](postgres-v1.6.0...postgres-v1.7.0)
(2024-04-12)


### Added

* Odata built-in query functions
([#558](#558))
([6e63367](6e63367))
</details>

<details><summary>hana: 0.2.0</summary>

##
[0.2.0](hana-v0.1.0...hana-v0.2.0)
(2024-04-12)


### Added

* Odata built-in query functions
([#558](#558))
([6e63367](6e63367))
* support HANA stored procedures
([#542](#542))
([52a00a0](52a00a0))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Johannes Vogel <[email protected]>
@cap-bots cap-bots mentioned this pull request Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants