Skip to content

[native] Add support for NULLIF special form#19301

Merged
mbasmanova merged 1 commit intoprestodb:masterfrom
mbasmanova:null-if
Mar 31, 2023
Merged

[native] Add support for NULLIF special form#19301
mbasmanova merged 1 commit intoprestodb:masterfrom
mbasmanova:null-if

Conversation

@mbasmanova
Copy link
Contributor

Rewrite NULLIF special form to IF(a = b, NULL, a).

https://prestodb.io/docs/current/functions/conditional.html#nullif

== NO RELEASE NOTE ==

@mbasmanova mbasmanova requested a review from a team as a code owner March 31, 2023 13:34
Rewrite NULLIF special form to IF(a = b, NULL, a).
Copy link
Contributor

@gggrace14 gggrace14 left a comment

Choose a reason for hiding this comment

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

Looks right to me!

Copy link
Contributor

@amitkdutta amitkdutta left a comment

Choose a reason for hiding this comment

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

Looks good.

@mbasmanova mbasmanova merged commit d14fc32 into prestodb:master Mar 31, 2023
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.

3 participants