trunklegs911 opened a new issue, #35019:
URL: https://github.com/apache/arrow/issues/35019
### Describe the usage question you have. Please include as many useful
details as possible.
My code is as follows:
`using var stream = File.OpenRead(_readFilePath);
using (var reader = new ArrowFileReader(stream))
{
var recordBatch = await reader.ReadNextRecordBatchAsync();
Console.WriteLine(recordBatch.ColumnCount);
}`
At this point I am just trying to log the column count of the parquet file.
The filestream does have data in it, and the parquet file is valid, and when I
use the `await reader.ReadNextRecordBatchAsync()` an exception is thrown
"System.IO.InvalidDataException: 'Invalid magic at offset <6>'"
Is my usage the problem? Or is this a bug?
Thank you
### Component(s)
C#
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]