forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-49474][SS] Classify Error class for FlatMapGroupsWithState use…
…r function error ### What changes were proposed in this pull request? Add new error classification for errors occurring in the user function that is used in FlatMapGroupsWithState. ### Why are the changes needed? The user provided function can throw any type of error. Using the new error framework for better error messages and classification. ### Does this PR introduce _any_ user-facing change? Yes, better error message with error class for Foreach sink user function failures. ### How was this patch tested? Updated existing tests and added new unit test in FlatMapGroupsWithStateSuite. ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#47940 from liviazhu-db/liviazhu-db/classify-flatmapgroupswithstate-error. Authored-by: Livia Zhu <livia.zhu@databricks.com> Signed-off-by: Jungtaek Lim <kabhwan.opensource@gmail.com>
- Loading branch information
1 parent
37f2fa9
commit 9a7b6e5
Showing
3 changed files
with
117 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters