paleolimbot commented on PR #518:
URL: https://github.com/apache/arrow-nanoarrow/pull/518#issuecomment-2161507024

   I didn't get to actually fixing this today, but I did get far enough to 
figure out that commenting out the following lines eliminates the problem:
   
   
https://github.com/apache/arrow-nanoarrow/blob/e92c364f65f9d6fb029d918b9ff31a8a39b3a1df/src/nanoarrow/array_test.cc#L1505-L1513
   
   I am guessing that the error will happen whenever the offset is`> LONG_MAX` 
but I'm not sure.
   
   I reproduced using:
   
   ```shell
   # docker run --rm -it -v $(pwd):/nanoarrow 
ghcr.io/apache/arrow-nanoarrow:ubuntu
   ci/scripts/build-with-meson.sh
   ```
   
   ...but had to update the build-with-meson to handle an empty PKG_CONFIG_PATH:
   
   ```
       if [ -z "${PKG_CONFIG_PATH}"]; then
         meson setup "${SANDBOX_DIR}"
       else
         meson setup "${SANDBOX_DIR}" --pkg-config-path $PKG_CONFIG_PATH
       fi
   ```


-- 
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]

Reply via email to