Skip to content

Comments

Add IS [NOT] TRUE, IS [NOT] FALSE native functions.#14977

Merged
gianm merged 1 commit intoapache:masterfrom
gianm:sql-is-true-false
Sep 14, 2023
Merged

Add IS [NOT] TRUE, IS [NOT] FALSE native functions.#14977
gianm merged 1 commit intoapache:masterfrom
gianm:sql-is-true-false

Conversation

@gianm
Copy link
Contributor

@gianm gianm commented Sep 13, 2023

They are not quite the same as "x == true", "x != true", etc. These functions never return null, even when "x" itself is null.

They are not quite the same as "x == true", "x != true", etc. These
functions never return null, even when "x" itself is null.
@gianm gianm merged commit 3ae5e97 into apache:master Sep 14, 2023
@gianm gianm deleted the sql-is-true-false branch September 14, 2023 16:19
gianm added a commit to gianm/druid that referenced this pull request Sep 14, 2023
These were added in apache#14977, but the implementations are incorrect, because
they return null when the input arg is null. They should return false when
the input is null. Remove them for now, rather than fixing them, since
they're so new that they might as well never have existed.
abhishekagarwal87 pushed a commit that referenced this pull request Sep 25, 2023
These were added in #14977, but the implementations are incorrect, because they return null when the input arg is null. They should return false when the input is null. Remove them for now, rather than fixing them, since they're so new that they might as well never have existed.
@LakshSingla LakshSingla added this to the 28.0 milestone Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants