Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RecordBatchReceiverStreamBuilder: don't stringify errors #9155

Merged

Conversation

tv42
Copy link
Contributor

@tv42 tv42 commented Feb 7, 2024

The error is a DataFusionError already, so don't stringify it, just use it as-is.

Are these changes tested?

cargo test passes; the behavior doesn't seem to be covered by tests.

Are there any user-facing changes?

Technically yes but I doubt anybody was matching on the error value. And if they were, this change is even more desirable!

The error is a DataFusionError already, so don't stringify it, just
use it as-is.
@tv42 tv42 force-pushed the RecordBatchReceiverStreamBuilder-return-error branch from b3e0425 to 0484170 Compare February 7, 2024 21:58
@tv42 tv42 marked this pull request as draft February 7, 2024 21:58
@tv42 tv42 marked this pull request as ready for review February 7, 2024 22:00
Copy link
Contributor

@metesynnada metesynnada left a comment

Choose a reason for hiding this comment

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

LGTM.

@alamb alamb merged commit 10ae934 into apache:main Feb 8, 2024
22 checks passed
@alamb
Copy link
Contributor

alamb commented Feb 8, 2024

🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants