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 "Zoltán Borók-Nagy (JIRA)" <ji...@apache.org> on 2018/09/19 13:52:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16620613#comment-16620613 ] 

Zoltán Borók-Nagy commented on IMPALA-7588:
-------------------------------------------

I pushed in the revert of IMPALA-7477 to the ASF repo: [https://github.com/apache/impala/commit/109028e89ce27880cc2ef69a7a5032c05df4d4df]

 

> 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
>
> [~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