Hi,
I'm trying to get Parquet to work in C++. I have the following code:
#include "arrow/io/api.h"
#include "parquet/arrow/reader.h"
#include "arrow/io/file.h"
#include "parquet/stream_reader.h"
int main()
{
std::shared_ptr<arrow::io::ReadableFile> infile;
PARQUET_ASSIGN_OR_THROW(
infile,
arrow::io::ReadableFile::Open("D:/path_to_parquet_file/file.parquet"));
}
I get an error on PARQUET_ASSIGN_OR_THROW. It seems to be unable to read
memory. Exception that I'm getting:
Unhandled exception at 0x00007FFE2866CF19 in cpp.exe: Microsoft C++
exception: parquet::ParquetStatusException at memory location
0x000000648DCFFC60.: parquet::ParquetStatusException at memory location
0x000000648DCFFC60.
What is wrong with this code? I'm using VS Community 2022 and Windows 10
64bit.
Kind regards,
Nick