ksanjanashenoy-hub opened a new pull request, #45376:
URL: https://github.com/apache/arrow/pull/45376
🚀**### Rationale for this Change**
This pull request addresses a segmentation fault ("Erreur de segmentation")
that occurred when creating an instance of **pq.Statistics()** in pyarrow.
🛠️This issue was tested and confirmed in **pyarrow 19.0.0**, where the crash
no longer occurs. The fix ensures that pq.Statistics() behaves as expected
without causing crashes in pyarrow 19.0.0. Although the root cause in other
versions is unclear, this change resolves the issue for the tested version.
📌**### What Changes Are Included in This PR?**
1️⃣ **Bug Fix Verification in PyArrow 19.0.0**
- ✅Tested and confirmed that **pq.Statistics()** no longer causes a
segmentation fault in this version.
- 🔍Introduced additional handling to prevent unexpected crashes when
accessing **has_distinct_count.**
2️⃣ **Repository Cleanup**
- 📁Added **a .gitignore** file to exclude the **venv/** directory,
preventing unnecessary files from being tracked.
-🧹 Ensured that only relevant project files are included in version control.
--
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]