Skip to content

RecordBatchReceiverStreamBuilder: don't stringify errors#9155

Merged
alamb merged 1 commit intoapache:mainfrom
tv42:RecordBatchReceiverStreamBuilder-return-error
Feb 8, 2024
Merged

RecordBatchReceiverStreamBuilder: don't stringify errors#9155
alamb merged 1 commit intoapache:mainfrom
tv42:RecordBatchReceiverStreamBuilder-return-error

Conversation

@tv42
Copy link
Copy Markdown
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
Copy Markdown
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
@alamb
Copy link
Copy Markdown
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