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

Java Runtime views: Filtered Associations #1595

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion java/working-with-cql/query-execution.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ WHERE B.STOCK < 10 AND A.NAME = ?
```

::: warning Limitations
Runtime views are supported for simple [CDS projections](../../cds/cdl#as-projection-on). Constant values, expressions such as *case when* and [association filters](../../cds/cdl#publish-associations-with-filter) are currently ignored.
Runtime views are supported for simple [CDS projections](../../cds/cdl#as-projection-on). Constant values and expressions such as *case when* are currently ignored. Expands of [filtered associations](../../cds/cdl#publish-associations-with-filter) are only supported since `3.7.0`.
Copy link
Contributor

Choose a reason for hiding this comment

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

  • Not sure we need this as the docu is valid for 3.7.0 only anyhow. On the other hand, there is no documentation for the LTS release. @renejeglinsky - what do you think.

Constant values and expressions such as case when are currently ignored.
@MattSchur - we also need to tackle this, I'm afraid.

Copy link
Contributor

Choose a reason for hiding this comment

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

We also have badges signaling a certain release which can be applied on header level. As we can't use a header here, I think doing this is perfectly fine. Sure, usually we go for "latest greatest" in the docs, but there can be circumstances where we want to avoid confusion. Probably after next major we can think about removing this version hint here.


Complex views using aggregations or union/join/subqueries in `FROM` are not supported.
:::
Expand Down