From the root arrow checkout of https://github.com/paleolimbot/arrow
plus git switch archery-nanoarrow-integration
:
Make sure archery is installed:
pip install -e "dev/archery[all]"
From the csharp/ subdirectory run
dotnet build
From the arrow checkout, clone + build nanoarrow where the default Archery options look for the integration test binary.
git clone https://github.com/paleolimbot/arrow-nanoarrow.git nanoarrow
cd nanoarrow && git switch integration-fixes
mkdir cdata && cd cdata && cmake .. -DNANOARROW_BUILD_INTEGRATION_TESTS=ON && cmake --build .
cd ../..
Run the integration test for exactly one file that is failing
python -m "archery.cli" integration \
--with-nanoarrow=true \
--with-csharp=true \
--run-c-data \
--match=primitive_zerolength