-
Notifications
You must be signed in to change notification settings - Fork 12
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
Table alias of outer query is missing for refs in function args in expand / exists #779
Comments
patricebender
added a commit
that referenced
this issue
Sep 2, 2024
we need to drill recursively into the function arguments found in on-conditions and prepend aliases of the outer query in case of scoped queries / expands fixes #779
Thanks for reporting, should be fixed with #795 |
patricebender
changed the title
Associations with sql functions incorrect results
Table alias of outer query is missing for refs in function args in expand / exists
Sep 2, 2024
johannes-vogel
added a commit
that referenced
this issue
Sep 2, 2024
) we need to drill recursively into the function arguments found in on-conditions and prepend aliases of the outer query in case of scoped queries / expands fixes #779 Co-authored-by: Johannes Vogel <31311694+johannes-vogel@users.noreply.github.com>
Merged
johannes-vogel
pushed a commit
that referenced
this issue
Sep 4, 2024
🤖 I have created a release *beep* *boop* --- <details><summary>db-service: 1.12.1</summary> ## [1.12.1](db-service-v1.12.0...db-service-v1.12.1) (2024-09-03) ### Fixed * deep `groupby` expand queries ([#768](#768)) ([5423cf3](5423cf3)) * **deep:** prevent false unique constraint errors and combine delete queries ([#781](#781)) ([01de95f](01de95f)) * **logging:** from changes in @sap/cds ([#791](#791)) ([1e8bf06](1e8bf06)) * prepend aliases to refs within function args in on conditions ([#795](#795)) ([9b34314](9b34314)), closes [#779](#779) * prevent $search queries from throwing ([#772](#772)) ([cdf4d37](cdf4d37)) </details> <details><summary>hana: 1.2.0</summary> ## [1.2.0](hana-v1.1.1...hana-v1.2.0) (2024-09-03) ### Added * wrap client if @dynatrace/oneagent-sdk is present ([#777](#777)) ([147b88e](147b88e)) ### Fixed * Add `{list:[{val}]}` json function support ([#784](#784)) ([ce5f856](ce5f856)) * Allow applications to configure `acquireTimeoutMillis` ([#796](#796)) ([abac818](abac818)) * deep `groupby` expand queries ([#768](#768)) ([5423cf3](5423cf3)) * Enforce `LargeStrings` to be `Strings` for `sql_simple_queries=1` ([#774](#774)) ([c38a9e6](c38a9e6)) * wrong falsy checks for vals in list optimization ([#797](#797)) ([e818da8](e818da8)) ### Changed * requires @sap/cds >= 8.2 ([#789](#789)) ([3bbde18](3bbde18)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of erroneous behaviour
Details about your project
The text was updated successfully, but these errors were encountered: