-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-13891] [SQL] [TEST] Issue Exceptions when Hitting the Max Iteration Limit in Optimizer and Analyzer #11714
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
Closed
Closed
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
01e4cdf
Merge remote-tracking branch 'upstream/master'
gatorsmile 6835704
Merge remote-tracking branch 'upstream/master'
gatorsmile 9180687
Merge remote-tracking branch 'upstream/master'
gatorsmile b38a21e
SPARK-11633
gatorsmile d2b84af
Merge remote-tracking branch 'upstream/master' into joinMakeCopy
gatorsmile fda8025
Merge remote-tracking branch 'upstream/master'
gatorspark ac0dccd
Merge branch 'master' of https://github.com/gatorsmile/spark
gatorspark 6e0018b
Merge remote-tracking branch 'upstream/master'
0546772
converge
gatorsmile b37a64f
converge
gatorsmile c2a872c
Merge remote-tracking branch 'upstream/master'
gatorsmile ab6dbd7
Merge remote-tracking branch 'upstream/master'
gatorsmile 4276356
Merge remote-tracking branch 'upstream/master'
gatorsmile 2dab708
Merge remote-tracking branch 'upstream/master'
gatorsmile 0458770
Merge remote-tracking branch 'upstream/master'
gatorsmile 1debdfa
Merge remote-tracking branch 'upstream/master'
gatorsmile 763706d
Merge remote-tracking branch 'upstream/master'
gatorsmile 4de6ec1
Merge remote-tracking branch 'upstream/master'
gatorsmile 9422a4f
Merge remote-tracking branch 'upstream/master'
gatorsmile 52bdf48
Merge remote-tracking branch 'upstream/master'
gatorsmile 1e95df3
Merge remote-tracking branch 'upstream/master'
gatorsmile fab24cf
Merge remote-tracking branch 'upstream/master'
gatorsmile 8b2e33b
Merge remote-tracking branch 'upstream/master'
gatorsmile 2ee1876
Merge remote-tracking branch 'upstream/master'
gatorsmile b9f0090
Merge remote-tracking branch 'upstream/master'
gatorsmile ade6f7e
Merge remote-tracking branch 'upstream/master'
gatorsmile 9fd63d2
Merge remote-tracking branch 'upstream/master'
gatorsmile 5199d49
Merge remote-tracking branch 'upstream/master'
gatorsmile 404214c
Merge remote-tracking branch 'upstream/master'
gatorsmile c001dd9
Merge remote-tracking branch 'upstream/master'
gatorsmile 59daa48
Merge remote-tracking branch 'upstream/master'
gatorsmile 41d5f64
Merge remote-tracking branch 'upstream/master'
gatorsmile 472a6e3
Merge remote-tracking branch 'upstream/master'
gatorsmile 0fba10a
Merge remote-tracking branch 'upstream/master'
gatorsmile 797aabb
When doing the test, issue an exception if hitting the max iteration.
gatorsmile 98cab44
Merge remote-tracking branch 'upstream/master' into maxIterationExcep…
gatorsmile f351362
address comments.
gatorsmile 1281f36
code clean
gatorsmile 23663fe
update comments.
gatorsmile cbf73b3
Merge remote-tracking branch 'upstream/master'
gatorsmile c08f561
Merge remote-tracking branch 'upstream/master'
gatorsmile 474df88
Merge remote-tracking branch 'upstream/master'
gatorsmile 23a6cfc
Merge branch 'maxIterationException' into maxIterationExceptionNew
gatorsmile 48b2c32
address comments.
gatorsmile 1a59fcf
clean code.
gatorsmile File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Isn't this kind of janky to insert a field into the non-test code just to get the behavior you want in a test? how about mocking subclasses?
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.
@srowen This is used in multiple components, e.g.,
AnalyzerandOptimizer. I am not sure how to do it in a more efficient way. Could you give me some hints how we did in the Spark? Any example in the existing code base? Thanks!