Hi~all
I try to use BufferedInputStream to reduce the overhead of some small read from
the network.
The pseudo codes are below:
```
//get the buffered input stream
auto buffered_result = arrow::io::BufferedInputStream::Create()
_buffered_infile = buffered_result.ValueOrDie();
// follow the example codes, I want to open a parquet file like that
// but it meets compiler error: could not convert from
'std::shared_ptr<arrow::io::BufferedInputStream>' to
'std::shared_ptr<arrow::io::RandomAccessFile>'
PARQUET_THROW_NOT_OK(parquet::arrow::OpenFile(_buffered_infile,arrow::default_memory_pool(),
&_reader_parquet));
//the declaration of OpenFile
//Status OpenFile(std::shared_ptr<::arrow::io::RandomAccessFile> file,
MemoryPool* pool,
std::unique_ptr<FileReader>* reader)
```
How can I use it correctly?
Thanks all~