Skip to content

CDS to DDL: clarify treatment of expressions#2604

Open
stewsk wants to merge 2 commits into
mainfrom
db-xpr
Open

CDS to DDL: clarify treatment of expressions#2604
stewsk wants to merge 2 commits into
mainfrom
db-xpr

Conversation

@stewsk
Copy link
Copy Markdown
Contributor

@stewsk stewsk commented Jun 1, 2026

No description provided.

@stewsk stewsk requested a review from renejeglinsky as a code owner June 1, 2026 14:12
@stewsk stewsk requested a review from danjoa June 1, 2026 14:12
Comment on lines +63 to +66
Note that expressions in CDS models are _not_ treated in a database-agnostic way. In other words, they are not rewritten
into database-specific equivalents; instead, they are carried over one-to-one into the DDL.
You therefore need to ensure that any expression you write in your CDS model works across all databases you use.
See also [Database-Specific Models](#database-specific-models).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
Note that expressions in CDS models are _not_ treated in a database-agnostic way. In other words, they are not rewritten
into database-specific equivalents; instead, they are carried over one-to-one into the DDL.
You therefore need to ensure that any expression you write in your CDS model works across all databases you use.
See also [Database-Specific Models](#database-specific-models).
Expressions in CDS models are _not_ treated in a database-agnostic way. The compiler does not rewrite them into database-specific equivalents. Instead, it carries them over directly into the DDL. Ensure that any expression you write in your CDS model works across all databases you use. For more information, see [Database-Specific Models](#database-specific-models).

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