Skip to content

ignore null in concat() and f-strings#6730

Merged
nwt merged 1 commit intomainfrom
concat-null
Mar 15, 2026
Merged

ignore null in concat() and f-strings#6730
nwt merged 1 commit intomainfrom
concat-null

Conversation

@nwt
Copy link
Member

@nwt nwt commented Mar 15, 2026

concat() returns null if any parameter is null and none is an error. Change it to ignore nulls by treating them as zero-length strings. This matches SQL concat() semantics.

f-strings are implemented via concat() so their behavior changes similarly.

Fixes #6026.

concat() returns null if any parameter is null and none is an error.
Change it to ignore nulls by treating them as zero-length strings.
This matches SQL concat() semantics.

f-strings are implemented via concat() so their behavior changes
similarly.
@nwt nwt requested a review from a team March 15, 2026 14:37
@nwt nwt merged commit a67ca49 into main Mar 15, 2026
2 checks passed
@nwt nwt deleted the concat-null branch March 15, 2026 16:13
@philrz philrz mentioned this pull request Mar 15, 2026
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.

null value in f-string

2 participants