Title: GH-139: [Flight] Stop return null from MetadataAdapter.getAll(String) and getAllByte(String) by axreldable · Pull Request #1016 · apache/arrow-java · GitHub
Open Graph Title: GH-139: [Flight] Stop return null from MetadataAdapter.getAll(String) and getAllByte(String) by axreldable · Pull Request #1016 · apache/arrow-java
X Title: GH-139: [Flight] Stop return null from MetadataAdapter.getAll(String) and getAllByte(String) by axreldable · Pull Request #1016 · apache/arrow-java
Description: What's Changed CallHeaders has 3 implementations: FlightCallHeaders ErrorFlightMetadata MetadataAdapter Before this change: MetadataAdapter could return null from getAll(String) and getAllByte(String) when there were no values for the key, because gRPC’s Metadata.getAll() returns null in that case. This was undocumented and forced callers to null-check. After this change: All 3 implementations consistently return an empty iterable (never null) when the key is absent or has no values. The contract is documented on the interface and covered by tests for each implementation. This contains breaking changes. MetadataAdapter.getAll(String) and getAllByte(String) return empty iterator instead of null. Closes #139.
Open Graph Description: What's Changed CallHeaders has 3 implementations: FlightCallHeaders ErrorFlightMetadata MetadataAdapter Before this change: MetadataAdapter could return null from getAll(String) and getAllByt...
X Description: What's Changed CallHeaders has 3 implementations: FlightCallHeaders ErrorFlightMetadata MetadataAdapter Before this change: MetadataAdapter could return null from getAll(String) and getAl...
Opengraph URL: https://github.com/apache/arrow-java/pull/1016
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:0f347db7-7881-ef98-52a2-507b19197047 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A3FE:1D1925:1AC107:229620:6990D354 |
| html-safe-nonce | 8c63c312250158522dd602fda0513e511fc477e43a9c51684e53e3ac98fb77ee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0ZFOjFEMTkyNToxQUMxMDc6MjI5NjIwOjY5OTBEMzU0IiwidmlzaXRvcl9pZCI6Ijc0MDg2MDk5NTM3OTk3NDk5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f8015d590b6d546ff8672377ccada3d9a29675fbb2d8044e9a2a6ac19f20e3fe |
| hovercard-subject-tag | pull_request:3264266290 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/apache/arrow-java/pull/1016/checks |
| twitter:image | https://avatars.githubusercontent.com/u/20573448?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/20573448?s=400&v=4 |
| og:image:alt | What's Changed CallHeaders has 3 implementations: FlightCallHeaders ErrorFlightMetadata MetadataAdapter Before this change: MetadataAdapter could return null from getAll(String) and getAllByt... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-cache |
| go-import | github.com/apache/arrow-java git https://github.com/apache/arrow-java.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 893682219 |
| octolytics-dimension-repository_nwo | apache/arrow-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 893682219 |
| octolytics-dimension-repository_network_root_nwo | apache/arrow-java |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width