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(expand): enable expanding from subquery #709

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

patricebender
Copy link
Member

if we select from <subquery> we do not have a
SELECT.from.ref but the <subquery> has a .target because it has been inferred properly.

Use the name of the .target for building the correlated subquery, instead of dumping.

fix #708

if we `select from <subquery>` we do not have a
`SELECT.from.ref` but the `<subquery>` has a `.target`
because it has been inferred properly.

Use the name of the `.target` for building the correlated
subquery, instead of dumping.

fix #708
@patricebender patricebender merged commit 5ed03e5 into main Jun 25, 2024
4 checks passed
@patricebender patricebender deleted the patrice/expand branch June 25, 2024 14:38
@cap-bots cap-bots mentioned this pull request Jun 25, 2024
patricebender pushed a commit that referenced this pull request Jun 25, 2024
🤖 I have created a release *beep* *boop*
---


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

##
[1.10.2](db-service-v1.10.1...db-service-v1.10.2)
(2024-06-25)


### Fixed

* **`expand`:** enable expanding from subquery
([#709](#709))
([5ed03e5](5ed03e5)),
closes [#708](#708)
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
@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.

odata groupBy causes subquery uses ungrouped column "__select__.author_id" from outer query
2 participants