You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/06/16 23:22:01 UTC
[jira] [Resolved] (CALCITE-755) NullPointerException when compile
execute "not (COL='Other')"
[ https://issues.apache.org/jira/browse/CALCITE-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde resolved CALCITE-755.
---------------------------------
Resolution: Cannot Reproduce
Assuming that this is fixed in recent releases. Please re-open if you can still reproduce.
> 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)