You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2018/09/18 18:06:00 UTC
[jira] [Created] (IMPALA-7588) incorrect HS2 null handling
introduced by IMPALA-7477
Tim Armstrong created IMPALA-7588:
-------------------------------------
Summary: incorrect HS2 null handling introduced by IMPALA-7477
Key: IMPALA-7588
URL: https://issues.apache.org/jira/browse/IMPALA-7588
Project: IMPALA
Issue Type: Bug
Components: Backend
Reporter: Tim Armstrong
Assignee: Tim Armstrong
[~boroknagyz] reported this issue with the HS2 endpoint:
Reproduction:
{noformat}
create table null_table (int_field int, float_field float, double_field double, string_field string);
insert into table null_table values (1, 3.14, 3.14, 'abc'), (2, 4.12, 4.12, 'def'), (NULL, NULL, NULL, NULL);
{noformat}
From JDBC client (only tried Hive JDBC client)
{noformat}
select * from null_table;
0 | 0.0 | 0.0 | null
2 | 4.12 | 4.12 | 'def'
0 | 0.0 | 0.0 |
{noformat}
The bug is with handling of nulls in the conversion functions, specifically output_row_idx isn't incremented.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org