You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2018/09/19 16:02:00 UTC

***UNCHECKED*** [jira] [Resolved] (IMPALA-7588) incorrect HS2 null handling introduced by IMPALA-7477

     [ https://issues.apache.org/jira/browse/IMPALA-7588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Armstrong resolved IMPALA-7588.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.1.0

> 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
>            Priority: Blocker
>              Labels: correctness
>             Fix For: Impala 3.1.0
>
>
> [~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)