-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-10063] Follow-up: remove dead code related to an old output committer #18689
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
|
Test build #79796 has finished for PR 18689 at commit
|
|
Test build #79797 has finished for PR 18689 at commit
|
jiangxb1987
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
|
Thanks! Merging to master. |
| * Instantiates a FileCommitProtocol using the given className. | ||
| */ | ||
| def instantiate(className: String, jobId: String, outputPath: String, isAppend: Boolean) | ||
| def instantiate(className: String, jobId: String, outputPath: String) |
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.
If anybody in open source community needs it, please let us know.
|
Shouldn't https://github.com/apache/spark/blob/master/sql/hive/src/test/scala/org/apache/spark/sql/sources/HadoopFsRelationTest.scala#L786 also be removed? As I understand it it checks whether the code removed here exists. |
|
interesting, that test should be removed, or the test should fail, let me take a closer look. |
What changes were proposed in this pull request?
DirectParquetOutputCommitter was removed from Spark as it was deemed unsafe to use. We however still have some code to generate warning. This patch removes those code as well.
This is kind of a follow-up of #16796
How was this patch tested?
existing tests