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/08/06 19:08:00 UTC

[jira] [Resolved] (PARQUET-1631) [C++] ParquetInputWrapper::GetSize always returns 0

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

Wes McKinney resolved PARQUET-1631.
-----------------------------------
    Resolution: Fixed

Issue resolved by pull request 5017
[https://github.com/apache/arrow/pull/5017]

> [C++] ParquetInputWrapper::GetSize always returns 0
> ---------------------------------------------------
>
>                 Key: PARQUET-1631
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1631
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-cpp
>            Reporter: Zherui Cao
>            Assignee: Zherui Cao
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: cpp-1.6.0
>
>          Time Spent: 4h 50m
>  Remaining Estimate: 0h
>
> ::arrow::Status ParquetInputWrapper::GetSize(int64_t* size)
> { PARQUET_CATCH_NOT_OK(*size = source_->Tell()); return ::arrow::Status::OK(); }
> This must be 
>  ::arrow::Status ParquetInputWrapper::GetSize(int64_t* size) {
>  PARQUET_CATCH_NOT_OK(*size = source_->Size());
>  return ::arrow::Status::OK();
>  }
>   



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)