[
https://issues.apache.org/jira/browse/PARQUET-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wes McKinney resolved PARQUET-502.
----------------------------------
Resolution: Fixed
The fix for this was combined with the patch
https://github.com/apache/parquet-cpp/pull/62. thank you!
> 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 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)