Short demonstrations of using Arrow's two methods of reading in CSV file as Arrow Data:
Written up mostly as an example for myself but may be useful for others. See the Arrow C++ docs for more information.
pkg-config
(brew install pkg-config
)- A >=C++11 compiler (e.g., clang 14)
- Arrow C++ headers (
brew install apache-arrow
)
A Makefile
is provided to make compiling both examples a single command:
make
-
TableReader:
./table_reader_example
-
StreamingReader:
./streaming_reader_example