You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/01/23 19:51:00 UTC

[jira] [Assigned] (PARQUET-1494) [C++] Can't access parquet statistics on binary columns

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

Wes McKinney reassigned PARQUET-1494:
-------------------------------------

    Assignee: Ildar

> [C++] Can't access parquet statistics on binary columns
> -------------------------------------------------------
>
>                 Key: PARQUET-1494
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1494
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-cpp
>            Reporter: Ildar
>            Assignee: Ildar
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: cpp-1.6.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> Hi,
> I'm trying to use per-column statistics (min/max values) to filter out row groups while reading parquet file. But I don't see statistics built for binary columns. I noticed that {{ApplicationVersion::HasCorrectStatistics()}} discards statistics that have sort order {{UNSIGNED and haven't been created by parquet-cpp}}. As I understand there used to be some issues in {{parquet-mr}} before. But do they still persist?
> For example, I have parquet file created with {{parquet-mr}} version 1.10, it seems to have correct min/max values for binary columns. And {{parquet-cpp}} works fine for me if I remove this code from {{HasCorrectStatistics()}} func:
>  
> {code:java}
> if (SortOrder::SIGNED != sort_order && !max_equals_min) {
>     return false;
> }{code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)