Skip to content
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

[MINOR][SQL][BUILD] Remove duplicated lines #11773

Closed
wants to merge 1 commit into from
Closed

[MINOR][SQL][BUILD] Remove duplicated lines #11773

wants to merge 1 commit into from

Conversation

dongjoon-hyun
Copy link
Member

What changes were proposed in this pull request?

This PR removes three minor duplicated lines. First one is making the following unreachable code warning.

JoinSuite.scala:52: unreachable code
[warn]       case j: BroadcastHashJoin => j

The other two are just consecutive repetitions in Seq of MiMa filters.

How was this patch tested?

Pass the existing Jenkins test.

@@ -299,13 +299,11 @@ object MimaExcludes {
// [SPARK-13244][SQL] Migrates DataFrame to Dataset
ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.sql.DataFrameHolder.apply"),
ProblemFilters.exclude[IncompatibleResultTypeProblem]("org.apache.spark.sql.DataFrameHolder.toDF"),
ProblemFilters.exclude[IncompatibleResultTypeProblem]("org.apache.spark.sql.DataFrameHolder.toDF"),
Copy link
Member Author

Choose a reason for hiding this comment

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

See the line 301.

@SparkQA
Copy link

SparkQA commented Mar 17, 2016

Test build #53373 has finished for PR 11773 at commit c34a914.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented Mar 17, 2016

Thanks - I've merged this.

@asfgit asfgit closed this in c890c35 Mar 17, 2016
@dongjoon-hyun
Copy link
Member Author

Thank you, @rxin ! :)

roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
## What changes were proposed in this pull request?

This PR removes three minor duplicated lines. First one is making the following unreachable code warning.
```
JoinSuite.scala:52: unreachable code
[warn]       case j: BroadcastHashJoin => j
```
The other two are just consecutive repetitions in `Seq` of MiMa filters.

## How was this patch tested?

Pass the existing Jenkins test.

Author: Dongjoon Hyun <dongjoon@apache.org>

Closes apache#11773 from dongjoon-hyun/remove_duplicated_line.
@dongjoon-hyun dongjoon-hyun deleted the remove_duplicated_line branch March 29, 2016 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants