Skip to content

Conversation

@HyukjinKwon
Copy link
Member

@HyukjinKwon HyukjinKwon commented Jul 20, 2020

What changes were proposed in this pull request?

This PR proposes to make the datasource options at PartitioningAwareFileIndex respect case insensitivity consistently:

  • pathGlobFilter
  • recursiveFileLookup
  • basePath

Why are the changes needed?

To support consistent case insensitivity in datasource options.

Does this PR introduce any user-facing change?

Yes, now users can also use case insensitive options such as PathglobFilter.

How was this patch tested?

Unittest were added. It reuses existing tests and adds extra clues to make it easier to track when the test is broken.

@HyukjinKwon HyukjinKwon requested review from WeichenXu123, dongjoon-hyun and gengliangwang and removed request for gengliangwang July 20, 2020 11:46
@SparkQA
Copy link

SparkQA commented Jul 20, 2020

Test build #126178 has finished for PR 29165 at commit 47e47a3.

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

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @HyukjinKwon .
Merged to master/3.0.

dongjoon-hyun pushed a commit that referenced this pull request Jul 20, 2020
…hould respect case insensitivity

### What changes were proposed in this pull request?

This PR proposes to make the datasource options at `PartitioningAwareFileIndex` respect case insensitivity consistently:
- `pathGlobFilter`
- `recursiveFileLookup `
- `basePath`

### Why are the changes needed?

To support consistent case insensitivity in datasource options.

### Does this PR introduce _any_ user-facing change?

Yes, now users can also use case insensitive options such as `PathglobFilter`.

### How was this patch tested?

Unittest were added. It reuses existing tests and adds extra clues to make it easier to track when the test is broken.

Closes #29165 from HyukjinKwon/SPARK-32368.

Authored-by: HyukjinKwon <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 133c5ed)
Signed-off-by: Dongjoon Hyun <[email protected]>
@HyukjinKwon
Copy link
Member Author

Thank you @dongjoon-hyun !

@HyukjinKwon HyukjinKwon deleted the SPARK-32368 branch July 27, 2020 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants