[
https://issues.apache.org/jira/browse/CALCITE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacques Nadeau updated CALCITE-755:
-----------------------------------
Fix Version/s: 1.4.0-incubating
> 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
> Fix For: 1.4.0-incubating
>
>
> 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)