Skip to content

GH-46481: [C++][Python] Allow nullable schema in FlightInfo#46489

Merged
lidavidm merged 1 commit intoapache:mainfrom
lidavidm:gh-46481
May 19, 2025
Merged

GH-46481: [C++][Python] Allow nullable schema in FlightInfo#46489
lidavidm merged 1 commit intoapache:mainfrom
lidavidm:gh-46481

Conversation

@lidavidm
Copy link
Copy Markdown
Member

@lidavidm lidavidm commented May 18, 2025

Rationale for this change

The underlying Protobuf field is always nullable and other implementations allow this.

What changes are included in this PR?

Allow empty/nonpresent schema in FlightInfo

Are these changes tested?

Yes

Are there any user-facing changes?

Yes, the getter may now be None. (Previously, this would instead crash, so I believe this is not a breaking change.)

Closes #37677.
Closes #46481.

Copy link
Copy Markdown
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels May 19, 2025
Copy link
Copy Markdown
Member

@raulcd raulcd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change LGTM. I am re-running some of the CI failures but they seem unrelated to me.

@raulcd
Copy link
Copy Markdown
Member

raulcd commented May 19, 2025

CI failures have been fixed on re-run, the only failure is a known issue.

@lidavidm lidavidm merged commit c47f605 into apache:main May 19, 2025
37 of 39 checks passed
@lidavidm lidavidm removed the awaiting merge Awaiting merge label May 19, 2025
@conbench-apache-arrow
Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit c47f605.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 509 possible false positives for unstable benchmarks that are known to sometimes produce them.

@lidavidm lidavidm deleted the gh-46481 branch May 20, 2025 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Flight][Python] FlightInfo segfaults when schema is None [C++][FlightRPC] Allow FlightInfo.schema to be nullable

3 participants