chore: upgrade Arrow Flight client dependencies#352
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #352 +/- ##
=======================================
Coverage 86.78% 86.78%
=======================================
Files 20 20
Lines 1294 1294
Branches 215 215
=======================================
Hits 1123 1123
Misses 81 81
Partials 90 90 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
5592943 to
b12eff5
Compare
There was a problem hiding this comment.
Pull request overview
This PR updates Apache Arrow Flight client dependencies to newer versions using BOMs (Bill of Materials) for better dependency management. The primary changes include updating gRPC to version 1.78.0, Apache Arrow to 18.3.0, and Netty to 4.1.127.Final. The update includes a new test to verify query timeout behavior and improvements to resource management in integration tests.
Changes:
- Introduced BOM-based dependency management for Apache Arrow, gRPC, and Netty to ensure version compatibility
- Added comprehensive test for query timeout functionality with explicit verification of server cleanup
- Improved resource management in E2E tests by wrapping InfluxDBClient instances in try-with-resources blocks
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| pom.xml | Added dependencyManagement section with BOMs for Arrow, gRPC, and Netty; removed explicit version declarations from managed dependencies |
| src/test/java/com/influxdb/v3/client/query/QueryOptionsTest.java | Added queryTimeout test to verify timeout behavior with simulated slow server response |
| src/test/java/com/influxdb/v3/client/integration/E2ETest.java | Enhanced resource management by wrapping InfluxDBClient instances in try-with-resources blocks |
| CHANGELOG.md | Added entry documenting the dependency updates |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Proposed Changes
Upgrades Arrow Flight client dependencies via BOMs. Includes gRPC upgrade to
1.78.0. Version1.75.0contains fixes related query timeouts (could not reproduce problems some users had, though), and1.78.0appears to be the latest version compatible with Arrow18.3.0.Aligns Netty dependence:
grpc-netty1.78.0directly depends onNetty 4.1.127.Final. Netty4.2.xwould be an unvalidated mix for current Arrow/gRPC versions and can introduce runtime breakage (especially HTTP/2 + native TLS path). So4.1.127.Finalis a compatibility pin.Adds synthetic query timeout test.
Checklist