You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "LiPenglin (Jira)" <ji...@apache.org> on 2022/08/16 07:40:00 UTC

[jira] [Created] (IMPALA-11500) Impalad crashed in the ParquetBoolDecoder::SkipValues when num_values is 0

LiPenglin created IMPALA-11500:
----------------------------------

             Summary: Impalad crashed in the ParquetBoolDecoder::SkipValues when num_values is 0
                 Key: IMPALA-11500
                 URL: https://issues.apache.org/jira/browse/IMPALA-11500
             Project: IMPALA
          Issue Type: Bug
            Reporter: LiPenglin


{code:java}
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
{code}
parquet-bool-decoder.cc:70] 9344fdd0e7f753fc:f1fb769e00000001] Check failed: num_values > 0 (0 vs. 0)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)