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)

Reply via email to