You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Aliaksei Sandryhaila (JIRA)" <ji...@apache.org> on 2016/02/14 18:06:18 UTC

[jira] [Updated] (PARQUET-502) Scanner segfaults when its batch size is smaller than the number of rows

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

Aliaksei Sandryhaila updated PARQUET-502:
-----------------------------------------
    Summary: Scanner segfaults when its batch size is smaller than the number of rows  (was: Scanner segfaults when reading a FIXED_LEN_BYTE_ARRAY column)

> Scanner segfaults when its batch size is smaller than the number of rows
> ------------------------------------------------------------------------
>
>                 Key: PARQUET-502
>                 URL: https://issues.apache.org/jira/browse/PARQUET-502
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-cpp
>    Affects Versions: cpp-0.1
>            Reporter: Aliaksei Sandryhaila
>            Assignee: Aliaksei Sandryhaila
>             Fix For: cpp-0.1
>
>         Attachments: all_types.parquet
>
>
> TypedScanner<>::HasNext() does not work properly for FIXED_LEN_BYTE_ARRAY. When it reaches the end of the column, HasNext() still returns true and a subsequent attempt to get the value (e.g. in PrintNext()) causes a segfault.
> To reproduce, use the attached file and run
> parquet-reader all_types.parquet



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)