Skip to content

Cosmos: Coalesce works on undefined values rather than nulls #16152

Closed

Description

c["Region"] ?? "ZZ" gives value of ZZ only if c does not contain key Region. If c["Region"] has value of null the expression returns null rather than ZZ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

closed-fixedThe issue has been fixed and is/will be included in the release indicated by the issue milestone.type-bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions