[
https://issues.jboss.org/browse/TEIID-3573?page=com.atlassian.jira.plugin...
]
Van Halbert commented on TEIID-3573:
------------------------------------
Unfortunately, this maybe harder to fix, as I've logged a bug with JDG
(
https://bugzilla.redhat.com/show_bug.cgi?id=1247191) regarding an issue with using IS
NULL and IS NOT NULL with numeric columns. So adding IS NOT NULL when intNum <> 1
is specified will not work at this time.
I'm thinking, as a workaround for now, turn off support of IS NULL and ISNOTNULL in
the translator and let Teiid handle it. So that its consistent across all data types.
Otherwise, mix-and-matching support for IS NULL and IS NOT NULL will be confusing.
Infinispan-dsl-cache translator: Operator <> incorrectly
handles NULL values
----------------------------------------------------------------------------
Key: TEIID-3573
URL:
https://issues.jboss.org/browse/TEIID-3573
Project: Teiid
Issue Type: Bug
Components: Misc. Connectors
Affects Versions: 8.7.1
Reporter: Filip Elias
Assignee: Van Halbert
Operator '<>' returns true for NULL <> 1
Example:
{code}
select intKey,intNum from smallA where intNum<>1
{code}
It returns also rows which have NULL in column intNum
I believe that NULL <> 1 is not true in SQL.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)