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: optimize foreign key access for expand with aggregations #734

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

patricebender
Copy link
Member

this is another follow up for #708

-> if the expand column was a foreign key access, the column was not properly re-written which resulted in the reported error.

we now make use of the common functionality which ensure proper column re-write. Along the way, support for structured columns was added as well.

this is another follow up for #708

-> if the expand column was a foreign key access, the column
was not properly re-written which resulted in the reported error.

we now make use of the common functionality which ensure proper
column re-write. Along the way, support for structured columns
was added as well.
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.

Looks good. Only delete fc.as looks suspicious. I guess fc is already a clone.

@patricebender
Copy link
Member Author

Looks good. Only delete fc.as looks suspicious. I guess fc is already a clone.

yeah true the function should ideally have a parameter which makes it possible to omit aliases.

@patricebender
Copy link
Member Author

Looks good. Only delete fc.as looks suspicious. I guess fc is already a clone.

will do this separately

@patricebender patricebender merged commit 77b7978 into main Jul 8, 2024
4 checks passed
@patricebender patricebender deleted the patrice/groupby branch July 8, 2024 14:33
@cap-bots cap-bots mentioned this pull request Jul 8, 2024
johannes-vogel added a commit that referenced this pull request Jul 8, 2024
🤖 I have created a release *beep* *boop*
---


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

##
[1.11.0](db-service-v1.10.3...db-service-v1.11.0)
(2024-07-08)


### Added

* **search:** enable deep search with path expressions
([#590](#590))
([e9e9461](e9e9461))

### Changed

* `search` interprets only first search term instead of raising an error
([#707](#707))
([0b9108c](0b9108c))

### Fixed

* optimize foreign key access for expand with aggregations
([#734](#734))
([77b7978](77b7978))
</details>

<details><summary>hana: 1.1.0</summary>

##
[1.1.0](hana-v1.0.1...hana-v1.1.0)
(2024-07-08)


### Added

* Enable native HANA fuzzy search for `search` function queries
([#707](#707))
([0b9108c](0b9108c))


### Fixed

* **mtx:** sidecar scenario due to usage of wrong credentials
([#732](#732))
([0b5c91f](0b5c91f))
</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 <31311694+johannes-vogel@users.noreply.github.com>
@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