-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-43299][FOLLOWUP][CONNECT][SS] Followup on StreamingQueryExceptions #44306
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
Conversation
|
@MaxGekk @HyukjinKwon Tagging people that I know who have context : ) |
|
Looks good but I think it'd be great if this can be signed off by @MaxGekk |
MaxGekk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@WweiL Could you trigger GAs, please.
|
Use empty string as default for test failures |
|
@MaxGekk Hi Max can I get another pass? Thank you! |
heyihong
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with one minor comment
...ect/client/jvm/src/test/scala/org/apache/spark/sql/streaming/ClientStreamingQuerySuite.scala
Outdated
Show resolved
Hide resolved
|
Merged to master. |
| "queryDebugString" -> toDebugString(includeLogicalPlan = isInitialized), | ||
| "startOffset" -> committedOffsets.toOffsetSeq(sources, offsetSeqMetadata).toString, | ||
| "endOffset" -> availableOffsets.toOffsetSeq(sources, offsetSeqMetadata).toString |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When you pass additional parameters, you should add placeholders for them in the error formats in error-conditions.json otherwise they are useless. Found them in the PR: #48026
What changes were proposed in this pull request?
Follow up on streaming query exception in Scala connect client.
StreamingQueryExceptionby adding thequeryDebugString,startOffsetandendOffsettomessageParameters, this enables us to reconstruct the exception with these fields in client side.Why are the changes needed?
Necessary build ups for spark connect.
Does this PR introduce any user-facing change?
No
How was this patch tested?
New Unit test
Was this patch authored or co-authored using generative AI tooling?
No