Skip to content

GH-40634: [C#] ArrowStreamReader should not be null#40765

Merged
CurtHagenlocher merged 1 commit intoapache:mainfrom
CurtHagenlocher:GH-40634
Mar 25, 2024
Merged

GH-40634: [C#] ArrowStreamReader should not be null#40765
CurtHagenlocher merged 1 commit intoapache:mainfrom
CurtHagenlocher:GH-40634

Conversation

@CurtHagenlocher
Copy link
Copy Markdown
Contributor

@CurtHagenlocher CurtHagenlocher commented Mar 23, 2024

What changes are included in this PR?

Small refactoring in the IPC reader implementation classes of how the schema is read in order to support getting the schema asynchronously through ArrowStreamReader and avoiding the case where ArrowStreamReader.Schema returns null because no record batches have yet been read.

Are these changes tested?

Yes.

Are there any user-facing changes?

A new method ArrowStreamReader.GetSchema has been added to allow the schema to be gotten asynchronously.

Closes #40634

@conbench-apache-arrow
Copy link
Copy Markdown

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

There were no benchmark performance regressions. 🎉

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

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.

[C#] ArrowStreamReader.Schema returns null before the first record batch is read

1 participant