Skip to content

[SQL] Minor readability improvement for partition handling code#16378

Closed
rxin wants to merge 2 commits intoapache:masterfrom
rxin:minor-fix
Closed

[SQL] Minor readability improvement for partition handling code#16378
rxin wants to merge 2 commits intoapache:masterfrom
rxin:minor-fix

Conversation

@rxin
Copy link
Contributor

@rxin rxin commented Dec 21, 2016

What changes were proposed in this pull request?

This patch includes minor changes to improve readability for partition handling code. I'm in the middle of implementing some new feature and found some naming / implicit type inference not as intuitive.

How was this patch tested?

This patch should have no semantic change and the changes should be covered by existing test cases.

/**
* Use [[FileStatusCache.getOrCreate()]] to construct a globally shared file status cache.
*/
object FileStatusCache {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I moved this from the middle of the file to the front since it is the logical entry point.

@rxin
Copy link
Contributor Author

rxin commented Dec 21, 2016

cc @ericl

@SparkQA
Copy link

SparkQA commented Dec 22, 2016

Test build #70497 has finished for PR 16378 at commit 0a94b0e.

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

@rxin
Copy link
Contributor Author

rxin commented Dec 22, 2016

cc @cloud-fan too

@asfgit asfgit closed this in 7c5b7b3 Dec 22, 2016
@cloud-fan
Copy link
Contributor

LGTM, merging to master

@rxin
Copy link
Contributor Author

rxin commented Dec 22, 2016

I've also cherry picked this into branch-2.1.

asfgit pushed a commit that referenced this pull request Dec 22, 2016
This patch includes minor changes to improve readability for partition handling code. I'm in the middle of implementing some new feature and found some naming / implicit type inference not as intuitive.

This patch should have no semantic change and the changes should be covered by existing test cases.

Author: Reynold Xin <rxin@databricks.com>

Closes #16378 from rxin/minor-fix.

(cherry picked from commit 7c5b7b3)
Signed-off-by: Reynold Xin <rxin@databricks.com>
Copy link
Contributor

@ericl ericl left a comment

Choose a reason for hiding this comment

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

Lgtm

cmonkey pushed a commit to cmonkey/spark that referenced this pull request Dec 24, 2016
## What changes were proposed in this pull request?
This patch includes minor changes to improve readability for partition handling code. I'm in the middle of implementing some new feature and found some naming / implicit type inference not as intuitive.

## How was this patch tested?
This patch should have no semantic change and the changes should be covered by existing test cases.

Author: Reynold Xin <rxin@databricks.com>

Closes apache#16378 from rxin/minor-fix.
uzadude pushed a commit to uzadude/spark that referenced this pull request Jan 27, 2017
## What changes were proposed in this pull request?
This patch includes minor changes to improve readability for partition handling code. I'm in the middle of implementing some new feature and found some naming / implicit type inference not as intuitive.

## How was this patch tested?
This patch should have no semantic change and the changes should be covered by existing test cases.

Author: Reynold Xin <rxin@databricks.com>

Closes apache#16378 from rxin/minor-fix.
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.

4 participants