Skip to content

[SPARK-29203][TESTS][Minor][Follow Up] Add access modifier for sparkConf in SQLQueryTestSuite#26019

Closed
xuanyuanking wants to merge 1 commit into
apache:masterfrom
xuanyuanking:SPARK-29203
Closed

[SPARK-29203][TESTS][Minor][Follow Up] Add access modifier for sparkConf in SQLQueryTestSuite#26019
xuanyuanking wants to merge 1 commit into
apache:masterfrom
xuanyuanking:SPARK-29203

Conversation

@xuanyuanking

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

Add access modifier protected for sparkConf in SQLQueryTestSuite, because in the parent trait SharedSparkSession, it is protected.

Why are the changes needed?

Code consistency.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Existing UT.

@xuanyuanking xuanyuanking changed the title [SPARK-29203][TESTS][Minor] Add access modifier for sparkConf in SQLQueryTestSuite [SPARK-29203][TESTS][Minor][Follow Up] Add access modifier for sparkConf in SQLQueryTestSuite Oct 4, 2019

@HyukjinKwon HyukjinKwon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM since the PR is already open; however, it's usually discouraged to make PRs to fix a couple of nits.

@SparkQA

SparkQA commented Oct 4, 2019

Copy link
Copy Markdown

Test build #111764 has finished for PR 26019 at commit f863334.

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

@HyukjinKwon

Copy link
Copy Markdown
Member

Merged to master and branch-2.4.

HyukjinKwon pushed a commit that referenced this pull request Oct 4, 2019
…onf in SQLQueryTestSuite

### What changes were proposed in this pull request?
Add access modifier `protected` for `sparkConf` in SQLQueryTestSuite, because in the parent trait SharedSparkSession, it is protected.

### Why are the changes needed?
Code consistency.

### Does this PR introduce any user-facing change?
No

### How was this patch tested?
Existing UT.

Closes #26019 from xuanyuanking/SPARK-29203.

Authored-by: Yuanjian Li <xyliyuanjian@gmail.com>
Signed-off-by: HyukjinKwon <gurwls223@apache.org>
(cherry picked from commit 93289b5)
Signed-off-by: HyukjinKwon <gurwls223@apache.org>
@xuanyuanking

Copy link
Copy Markdown
Member Author

Thanks, will pay attention next time.

@xuanyuanking xuanyuanking deleted the SPARK-29203 branch October 4, 2019 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants