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

Impalad crashed in the ParquetBoolDecoder::SkipValues when num_values is 0

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • None
    • Impala 4.2.0
    • None
    • None
    • ghx-label-4

    Description

      create table parq_tbl (
        s string,
        i int,
        b boolean,
        bi bigint,
        ts timestamp,
        dt date,
        dc decimal(9, 3)
      ) stored as parquet;
      
      insert into
        parq_tbl
      values
        ( "abc", 3, true, NULL, "1970-01-03 09:11:22", NULL, 56.34),
        ( "def", NULL, false, NULL, "1969-12-29 14:45:59", DATE "1969-01-01", -10.0),
        ( "ghij", 1, NULL, 123456789000000, "1970-01-01", DATE "1970-12-31", NULL),
        ( NULL, 0, NULL, 234567890000001, NULL, DATE "1971-01-01", NULL),
        (NULL, NULL, NULL, NULL, NULL, NULL, NULL),
        (NULL, NULL, NULL, NULL, NULL, NULL, NULL);
      
      select * from parq_tbl where s is not null;
       
      Caught exception [Errno 104] Connection reset by peer, type=<class 'socket.error'> in GetOperationStatus. 
      Socket error 104: [Errno 104] Connection reset by peer
      

      parquet-bool-decoder.cc:70] 9344fdd0e7f753fc:f1fb769e00000001] Check failed: num_values > 0 (0 vs. 0)

      Attachments

        Activity

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

          People

            lipenglin Li Penglin
            lipenglin Li Penglin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment