Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Implement ifnull and nullif functions. #555

Merged
merged 3 commits into from
Nov 23, 2018
Merged

Implement ifnull and nullif functions. #555

merged 3 commits into from
Nov 23, 2018

Conversation

kuba--
Copy link
Contributor

@kuba-- kuba-- commented Nov 20, 2018

Signed-off-by: kuba-- kuba@sourced.tech

Closes: #542
Fixes: #546

This PR fixes conversion from NULL to any type and implements new functions: NULLIF and IFNULL.

Signed-off-by: kuba-- <kuba@sourced.tech>
@kuba-- kuba-- added the bug Something isn't working label Nov 20, 2018
@kuba-- kuba-- requested a review from a team November 20, 2018 22:10
Signed-off-by: kuba-- <kuba@sourced.tech>
Signed-off-by: kuba-- <kuba@sourced.tech>
@ajnavarro ajnavarro merged commit 9ee3f1d into src-d:master Nov 23, 2018
@kuba-- kuba-- deleted the fix-546/null branch November 23, 2018 10:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IsNullable does not retain null when we return nil in expressions Check correct usage of Null value
3 participants