René's URL Explorer Experiment


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

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:395d2891-2618-fc27-3425-64208e4f9f01
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8A6A:281D19:302AD2:3E8137:69915E50
html-safe-noncefa53cdfaae13f27faefd9089e95e05ce01e83a518916a3ef7ded5cd4803a7a53
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTZBOjI4MUQxOTozMDJBRDI6M0U4MTM3OjY5OTE1RTUwIiwidmlzaXRvcl9pZCI6Ijc3OTY0ODc5NzA1MDUxODY4OTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbf8db500bb12bc75575637e35b47a8b953b2019f2c87ca818b42475fae73b412
hovercard-subject-tagpull_request:3264266290
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/apache/arrow-java/pull/1016/files
twitter:imagehttps://avatars.githubusercontent.com/u/20573448?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/20573448?s=400&v=4
og:image:altWhat's Changed CallHeaders has 3 implementations: FlightCallHeaders ErrorFlightMetadata MetadataAdapter Before this change: MetadataAdapter could return null from getAll(String) and getAllByt...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/apache/arrow-java git https://github.com/apache/arrow-java.git
octolytics-dimension-user_id47359
octolytics-dimension-user_loginapache
octolytics-dimension-repository_id893682219
octolytics-dimension-repository_nwoapache/arrow-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id893682219
octolytics-dimension-repository_network_root_nwoapache/arrow-java
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Farrow-java%2Fpull%2F1016%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Farrow-java%2Fpull%2F1016%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=apache%2Farrow-java
Reloadhttps://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files
Reloadhttps://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files
Reloadhttps://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files
apache https://patch-diff.githubusercontent.com/apache
arrow-javahttps://patch-diff.githubusercontent.com/apache/arrow-java
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fapache%2Farrow-java
Fork 111 https://patch-diff.githubusercontent.com/login?return_to=%2Fapache%2Farrow-java
Star 83 https://patch-diff.githubusercontent.com/login?return_to=%2Fapache%2Farrow-java
Code https://patch-diff.githubusercontent.com/apache/arrow-java
Issues 403 https://patch-diff.githubusercontent.com/apache/arrow-java/issues
Pull requests 38 https://patch-diff.githubusercontent.com/apache/arrow-java/pulls
Discussions https://patch-diff.githubusercontent.com/apache/arrow-java/discussions
Actions https://patch-diff.githubusercontent.com/apache/arrow-java/actions
Security 0 https://patch-diff.githubusercontent.com/apache/arrow-java/security
Insights https://patch-diff.githubusercontent.com/apache/arrow-java/pulse
Code https://patch-diff.githubusercontent.com/apache/arrow-java
Issues https://patch-diff.githubusercontent.com/apache/arrow-java/issues
Pull requests https://patch-diff.githubusercontent.com/apache/arrow-java/pulls
Discussions https://patch-diff.githubusercontent.com/apache/arrow-java/discussions
Actions https://patch-diff.githubusercontent.com/apache/arrow-java/actions
Security https://patch-diff.githubusercontent.com/apache/arrow-java/security
Insights https://patch-diff.githubusercontent.com/apache/arrow-java/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fapache%2Farrow-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fapache%2Farrow-java%2Fissues%2Fnew%2Fchoose
axreldablehttps://patch-diff.githubusercontent.com/axreldable
apache:mainhttps://patch-diff.githubusercontent.com/apache/arrow-java/tree/main
axreldable:call-headers-nullhttps://patch-diff.githubusercontent.com/axreldable/arrow-java/tree/call-headers-null
Conversation 4 https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016
Commits 1 https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/commits
Checks 4 https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/checks
Files changed https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files
Please reload this pagehttps://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files
GH-139: [Flight] Stop return null from MetadataAdapter.getAll(String) and getAllByte(String) https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#top
Show all changes 1 commit https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files
0bbd70d GH-139: [Flight] Stop return null from MetadataAdapter.getAll(String)… axreldable Feb 9, 2026 https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/commits/0bbd70de0336554c91edd5ba3c2d80db9ea015e0
Clear filters https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files
Please reload this pagehttps://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files
Please reload this pagehttps://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files
CallHeaders.java https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-b56be432c7806da653d05a483fa8e8567c9eaf9a2576cfc848e3bd095f6d921f
ServerSessionMiddleware.java https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-52edecf9184c5ab47a58b76f92bfb7daa28d37133d73a098a7fd59fc5fe44c61
ClientCookieMiddleware.java https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-3329a731be9abc2a6d3e28e418a7571ed110a21da31fb86b1dc0480f79f2778b
MetadataAdapter.java https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-87adade9225c0f9e8ad1596d53a5459fd51ca66876df361c5d9cd6e0b2f7b40d
TestCallOptions.java https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-5c2622288ca3cd6a5834da0579d981a70a2a7679c3cd6eaaf481ddfef43e0f5b
TestErrorMetadata.java https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-f1d1d95d19472a96402458c92536370cf9a67b655c0dd4eadd8d8f6082a94217
TestMetadataAdapter.java https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-44533b58dae309bb029d717cca2465e15924e553ef24168e30477b0a30de12c6
https://patch-diff.githubusercontent.com/apache/arrow-java/blob/main/.github/CODEOWNERS#L32
flight/flight-core/src/main/java/org/apache/arrow/flight/CallHeaders.javahttps://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-b56be432c7806da653d05a483fa8e8567c9eaf9a2576cfc848e3bd095f6d921f
View file https://patch-diff.githubusercontent.com/apache/arrow-java/blob/0bbd70de0336554c91edd5ba3c2d80db9ea015e0/flight/flight-core/src/main/java/org/apache/arrow/flight/CallHeaders.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-b56be432c7806da653d05a483fa8e8567c9eaf9a2576cfc848e3bd095f6d921f
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-b56be432c7806da653d05a483fa8e8567c9eaf9a2576cfc848e3bd095f6d921f
https://patch-diff.githubusercontent.com/apache/arrow-java/blob/main/.github/CODEOWNERS#L32
flight/flight-core/src/main/java/org/apache/arrow/flight/ServerSessionMiddleware.javahttps://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-52edecf9184c5ab47a58b76f92bfb7daa28d37133d73a098a7fd59fc5fe44c61
View file https://patch-diff.githubusercontent.com/apache/arrow-java/blob/0bbd70de0336554c91edd5ba3c2d80db9ea015e0/flight/flight-core/src/main/java/org/apache/arrow/flight/ServerSessionMiddleware.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-52edecf9184c5ab47a58b76f92bfb7daa28d37133d73a098a7fd59fc5fe44c61
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-52edecf9184c5ab47a58b76f92bfb7daa28d37133d73a098a7fd59fc5fe44c61
https://patch-diff.githubusercontent.com/apache/arrow-java/blob/main/.github/CODEOWNERS#L32
flight/flight-core/src/main/java/org/apache/arrow/flight/client/ClientCookieMiddleware.javahttps://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-3329a731be9abc2a6d3e28e418a7571ed110a21da31fb86b1dc0480f79f2778b
View file https://patch-diff.githubusercontent.com/apache/arrow-java/blob/0bbd70de0336554c91edd5ba3c2d80db9ea015e0/flight/flight-core/src/main/java/org/apache/arrow/flight/client/ClientCookieMiddleware.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-3329a731be9abc2a6d3e28e418a7571ed110a21da31fb86b1dc0480f79f2778b
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-3329a731be9abc2a6d3e28e418a7571ed110a21da31fb86b1dc0480f79f2778b
https://patch-diff.githubusercontent.com/apache/arrow-java/blob/main/.github/CODEOWNERS#L32
flight/flight-core/src/main/java/org/apache/arrow/flight/grpc/MetadataAdapter.javahttps://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-87adade9225c0f9e8ad1596d53a5459fd51ca66876df361c5d9cd6e0b2f7b40d
View file https://patch-diff.githubusercontent.com/apache/arrow-java/blob/0bbd70de0336554c91edd5ba3c2d80db9ea015e0/flight/flight-core/src/main/java/org/apache/arrow/flight/grpc/MetadataAdapter.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-87adade9225c0f9e8ad1596d53a5459fd51ca66876df361c5d9cd6e0b2f7b40d
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-87adade9225c0f9e8ad1596d53a5459fd51ca66876df361c5d9cd6e0b2f7b40d
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-87adade9225c0f9e8ad1596d53a5459fd51ca66876df361c5d9cd6e0b2f7b40d
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-87adade9225c0f9e8ad1596d53a5459fd51ca66876df361c5d9cd6e0b2f7b40d
https://patch-diff.githubusercontent.com/apache/arrow-java/blob/main/.github/CODEOWNERS#L32
flight/flight-core/src/test/java/org/apache/arrow/flight/TestCallOptions.javahttps://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-5c2622288ca3cd6a5834da0579d981a70a2a7679c3cd6eaaf481ddfef43e0f5b
View file https://patch-diff.githubusercontent.com/apache/arrow-java/blob/0bbd70de0336554c91edd5ba3c2d80db9ea015e0/flight/flight-core/src/test/java/org/apache/arrow/flight/TestCallOptions.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-5c2622288ca3cd6a5834da0579d981a70a2a7679c3cd6eaaf481ddfef43e0f5b
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-5c2622288ca3cd6a5834da0579d981a70a2a7679c3cd6eaaf481ddfef43e0f5b
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-5c2622288ca3cd6a5834da0579d981a70a2a7679c3cd6eaaf481ddfef43e0f5b
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-5c2622288ca3cd6a5834da0579d981a70a2a7679c3cd6eaaf481ddfef43e0f5b
https://patch-diff.githubusercontent.com/apache/arrow-java/blob/main/.github/CODEOWNERS#L32
flight/flight-core/src/test/java/org/apache/arrow/flight/TestErrorMetadata.javahttps://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-f1d1d95d19472a96402458c92536370cf9a67b655c0dd4eadd8d8f6082a94217
View file https://patch-diff.githubusercontent.com/apache/arrow-java/blob/0bbd70de0336554c91edd5ba3c2d80db9ea015e0/flight/flight-core/src/test/java/org/apache/arrow/flight/TestErrorMetadata.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-f1d1d95d19472a96402458c92536370cf9a67b655c0dd4eadd8d8f6082a94217
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-f1d1d95d19472a96402458c92536370cf9a67b655c0dd4eadd8d8f6082a94217
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-f1d1d95d19472a96402458c92536370cf9a67b655c0dd4eadd8d8f6082a94217
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-f1d1d95d19472a96402458c92536370cf9a67b655c0dd4eadd8d8f6082a94217
https://patch-diff.githubusercontent.com/apache/arrow-java/blob/main/.github/CODEOWNERS#L32
flight/flight-core/src/test/java/org/apache/arrow/flight/grpc/TestMetadataAdapter.javahttps://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files#diff-44533b58dae309bb029d717cca2465e15924e553ef24168e30477b0a30de12c6
View file https://patch-diff.githubusercontent.com/apache/arrow-java/blob/0bbd70de0336554c91edd5ba3c2d80db9ea015e0/flight/flight-core/src/test/java/org/apache/arrow/flight/grpc/TestMetadataAdapter.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/{{ revealButtonHref }}
Please reload this pagehttps://patch-diff.githubusercontent.com/apache/arrow-java/pull/1016/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.