You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Micah Kornfield (Jira)" <ji...@apache.org> on 2021/09/30 19:54:00 UTC

[jira] [Created] (PARQUET-2099) [C++] Statistics::num_values() is misleading

Micah Kornfield created PARQUET-2099:
----------------------------------------

             Summary: [C++] Statistics::num_values() is misleading 
                 Key: PARQUET-2099
                 URL: https://issues.apache.org/jira/browse/PARQUET-2099
             Project: Parquet
          Issue Type: Improvement
          Components: parquet-cpp
            Reporter: Micah Kornfield
             Fix For: cpp-6.0.0


num_values() in statistics seems to capture the number of encoded values.  This is misleading as everyplace else in parquet num_values() really indicates all values (null and not-null, i.e. the number of levels).  

We should likely remove this field, rename it or at the very least update the documentation.

CC [~zeroshade]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)