Skip to content

Conversation

@PDT42
Copy link
Contributor

@PDT42 PDT42 commented Aug 26, 2025

Since HANA does not disregard the order columns are selected in when determining the execution plan cache key for a given sql query, sorting the columns before formatting sql selects in HANAService should help reduce the number of times a new execution plan has to be compiled.

@PDT42 PDT42 self-assigned this Aug 26, 2025
@PDT42 PDT42 marked this pull request as ready for review August 27, 2025 15:40
@PDT42 PDT42 requested a review from BobdenOs September 3, 2025 06:45
Copy link
Contributor

@BobdenOs BobdenOs left a comment

Choose a reason for hiding this comment

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

Please consider what to do with cqn4sql.

@PDT42 PDT42 requested a review from BobdenOs September 18, 2025 12:47
@PDT42 PDT42 merged commit d81b0bf into main Sep 18, 2025
6 checks passed
@PDT42 PDT42 deleted the feat/order-selected-columns branch September 18, 2025 14:52
@cap-bots cap-bots mentioned this pull request Sep 18, 2025
sjvans added a commit that referenced this pull request Sep 19, 2025
@PDT42 PDT42 restored the feat/order-selected-columns branch September 24, 2025 06:33
patricebender added a commit that referenced this pull request Sep 30, 2025
🤖 I have created a release *beep* *boop*
---


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

##
[2.5.0](db-service-v2.4.0...db-service-v2.5.0)
(2025-09-30)


### Added

* make hana server version accessible to sub classes
([#1263](#1263))
([a3ccc3e](a3ccc3e))
* sets default to hana cloud if server version cannot be detected
([a3ccc3e](a3ccc3e))


### Fixed

* **`@cds.search`:** no duplicates for search along `to-many` paths
([#1341](#1341))
([5c5f4fb](5c5f4fb))
* associations in `[@cds](https://github.com/cds).search` are additive
([#1355](#1355))
([ea931cb](ea931cb))
* set proper element link for path into fk
([#1344](#1344))
([9f365d3](9f365d3))
</details>

<details><summary>sqlite: 2.0.3</summary>

##
[2.0.3](sqlite-v2.0.2...sqlite-v2.0.3)
(2025-09-30)


### Fixed

* associations in `[@cds](https://github.com/cds).search` are additive
([#1355](#1355))
([ea931cb](ea931cb))
</details>

<details><summary>hana: 2.3.0</summary>

##
[2.3.0](hana-v2.2.0...hana-v2.3.0)
(2025-09-30)


### Added

* add support for SAP HANA Tenant Management Service v2
([#1356](#1356))
([b4bd9f2](b4bd9f2))
* make hana server version accessible to sub classes
([#1263](#1263))
([a3ccc3e](a3ccc3e))
* sets default to hana cloud if server version cannot be detected
([a3ccc3e](a3ccc3e))
* sort selected columns & expands before formatting sql
([#1330](#1330))
([d81b0bf](d81b0bf))


### Fixed

* updated fuzzy search syntax to include now require search mode 'text'
([#1333](#1333))
([1946665](1946665))
</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: Patrice Bender <patrice.bender@sap.com>
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.

3 participants