You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Thomas Tauber-Marshall (JIRA)" <ji...@apache.org> on 2017/10/17 22:00:00 UTC
[jira] [Created] (IMPALA-6069) Incorrect handling of Nan with join
and codegen
Thomas Tauber-Marshall created IMPALA-6069:
----------------------------------------------
Summary: Incorrect handling of Nan with join and codegen
Key: IMPALA-6069
URL: https://issues.apache.org/jira/browse/IMPALA-6069
Project: IMPALA
Issue Type: Bug
Components: Backend
Affects Versions: Impala 2.11.0
Reporter: Thomas Tauber-Marshall
Priority: Critical
Repro:
{noformat}
> create table test (col0 float);
> insert into test values (0), (cast('nan' as float));
> select * from test a, test b where a.col0 = b.col0;
+------+------+
| col0 | col0 |
+------+------+
| 0 | 0 |
| NaN | NaN |
+------+------+
> set disable_codegen=true;
> select * from test a, test b where a.col0 = b.col0;
+------+------+
| col0 | col0 |
+------+------+
| 0 | 0 |
+------+------+
{noformat}
I think the version without codegen is the intended behavior (because 'Nan' = 'Nan' is false)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)