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: for aggregated expand always set explicit alias #739

Merged
merged 6 commits into from
Jul 12, 2024

Conversation

patricebender
Copy link
Member

to have the proper result structure, we need to rename foreign key references in the inner expand subquery to match the element name of the target.

instead of author { <outer>.author_ID } it needs to be author { <outer>.author_ID as ID to match the expected result structure.

for #708

to have the proper result structure, we need to rename
foreign key references in the inner `expand` subquery
to match the element name of the target.

instead of `author { <outer>.author_ID }` it needs to be
`author { <outer>.author_ID as ID` to match the expected result
structure.

for #708
@patricebender patricebender changed the title fix: for expand + group by use pk name instead of fk name fix: for aggregated expand always set explicit alias Jul 10, 2024
@patricebender patricebender merged commit 53a8075 into main Jul 12, 2024
4 checks passed
@patricebender patricebender deleted the patrice/rename branch July 12, 2024 09:07
@cap-bots cap-bots mentioned this pull request Jul 12, 2024
@patricebender patricebender restored the patrice/rename branch July 18, 2024 13:23
@patricebender patricebender deleted the patrice/rename branch July 18, 2024 13:24
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