Re: [C++][Parquet] Handling empty files while reading Parquet files using C++

2023-07-03 Thread Gang Wu
Hi Luca, It seems to me that the problem comes from node->type_length(). It should be 0 instead of 64. Could you please check the value of column_index_ in the CheckColumn() before it throws? If you need further assistance, please create an issue on Github and it would be good to provide a file to

[C++][Parquet] Handling empty files while reading Parquet files using C++

2023-07-03 Thread Luca Jones
Hi, I've been trying to read data from a Parquet file into a stream using the Parquet::StreamReader class for a while. The first column of my data consists of int64s - thus, I have been streaming data as follows: shared_ptr infile; PARQUET_ASSIGN_OR_THROW(infile, arrow::io::ReadableFile::