You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "westonpace (via GitHub)" <gi...@apache.org> on 2023/04/11 23:37:03 UTC

[GitHub] [arrow] westonpace commented on issue #35019: [C#] Exception on basic usage

westonpace commented on issue #35019:
URL: https://github.com/apache/arrow/issues/35019#issuecomment-1504270077

   The C# Arrow implementation does not provide a parquet reader (this is different than most other implementations).  The `ArrowFileReader` that you are using is for reading Arrow IPC files, not parquet files.  These are two different formats (the parquet format is more focused on compression and minimizing I/O while the Arrow IPC format aims to be a mirror of the in-memory format to allow for things like memory-mapped zero-copy reads)
   
   The exception you are getting is because the arrow file reader is not finding the expected magic number at the end of the file (all Arrow IPC files end with ARROW1).
   
   I believe there are other C# projects you can use which provide parquet readers/writers.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org