liyang created CALCITE-755:
------------------------------
Summary: NullPointerException when compile execute "not
(COL='Other')"
Key: CALCITE-755
URL: https://issues.apache.org/jira/browse/CALCITE-755
Project: Calcite
Issue Type: Bug
Affects Versions: 0.9.2-incubating
Reporter: liyang
Assignee: Julian Hyde
The where clause "not (COL='Other')" will generate code like
/* 75 */ if
(!net.hydromatic.optiq.runtime.SqlFunctions.eq(current[15] == null ? (String)
null : current[15].toString(), "Other")) {
/* 76 */ return true;
/* 77 */ }
And cause NPE if COL has null value
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)