Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7588

incorrect HS2 null handling introduced by IMPALA-7477

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • Impala 3.1.0
    • Backend

    Description

      Zoltán Borók-Nagy reported this issue with the HS2 endpoint:

      Reproduction:

      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);
      

      From JDBC client (only tried Hive JDBC client)

      select * from null_table;
      0 | 0.0 | 0.0 | null
      2 | 4.12 | 4.12 | 'def'
      0 | 0.0 | 0.0 |
      

      The bug is with handling of nulls in the conversion functions, specifically output_row_idx isn't incremented.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tarmstrong Tim Armstrong
            tarmstrong Tim Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment