Skip to content

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

@smitpatel

Description

@smitpatel

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions