But the data page is decoded only after it is decompressed, so I wouldn’t 
expect an unsupported data page to cause a decompression failure.

(I am playing with adding V2 support to Parquet.Net.)

Sent from my iPhone

> On Apr 29, 2019, at 7:30 AM, Ivan Sadikov <[email protected]> wrote:
> 
> If you are referring to the file in Apache/parquet-testing repository, it
> is a valid Parquet file with data encoded into data page v2.
> 
> You can easily test it with “cargo install parquet” and “parquet-read
> filepath”.
> 
> I am not sure what kind of code you have written, but the error you have
> encountered could be related to the fact that parquet-cpp does not support
> decoding of data page v2.
> 
> 
> Cheers,
> 
> Ivan
> 
> On Mon, 29 Apr 2019 at 3:36 PM, Curt Hagenlocher <[email protected]>
> wrote:
> 
>> To the best of my ability to tell, there is invalid Snappy data in the file
>> parquet-testing/data/datapage_v2.snappy.parquet. I can neither read it with
>> my own code nor with pyarrow 0.13.0. Is this expected to work?
>> 
>> Thanks!
>> -Curt
>> 

Reply via email to