Skip to content

Conversation

JiaqiWang18
Copy link
Contributor

@JiaqiWang18 JiaqiWang18 commented Sep 26, 2025

What changes were proposed in this pull request?

Pulling some changes from #51644
For debugging purposes, print PipelineEvent with error to the console. Most tests expects pipeline to succeed, this makes it easier to see the error when it happens. Otherwise, developers have to manually add println to print the error message contained in the event, which is cumbersome.

Why are the changes needed?

Easier to debug test failures, avoid the need to manually add println for test failures.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Was this patch authored or co-authored using generative AI tooling?

No

@JiaqiWang18 JiaqiWang18 force-pushed the SPARK-53728-print-event-with-error-in-test branch from 646df20 to 21f5755 Compare September 26, 2025 05:03
@JiaqiWang18 JiaqiWang18 marked this pull request as ready for review September 26, 2025 05:03
@JiaqiWang18
Copy link
Contributor Author

@sryza

Copy link
Contributor

@sryza sryza left a comment

Choose a reason for hiding this comment

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

Nice

@sryza sryza closed this in 1692b55 Sep 29, 2025
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.

3 participants