Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Handle Case sensitivity in indexed and included column names appropriately #27

Closed
apoorvedave1 opened this issue Jun 23, 2020 · 0 comments · Fixed by #78
Closed

Handle Case sensitivity in indexed and included column names appropriately #27

apoorvedave1 opened this issue Jun 23, 2020 · 0 comments · Fixed by #78
Assignees
Labels
enhancement New feature or request intermediate issue This is the tag for intermediate issues which involve discussion
Milestone

Comments

@apoorvedave1
Copy link
Contributor

apoorvedave1 commented Jun 23, 2020

Describe the issue

Handle case-sensitivity in indexed and included column names appropriately based on the value of "spark.sql.caseSensitive".

Here's the desired behavior
Q. If case-sensitive = true, index config is wrong case, will createIndex work? No. Fail, exception.
Q. If case-sensitive = false, index config is wrong case, will createIndex work? Yes.
Q. If case-sensitive = true, an index exists with wrong case, will this index be used? No. Ignore this index
Q. If case-sensitive = false, an index exists with wrong case, will this index be used? Yes.

To Reproduce

NA

Expected behavior

Here's the desired behavior
Q. If case-sensitive = true, index config is wrong case, will createIndex work? No. Fail, exception.
Q. If case-sensitive = false, index config is wrong case, will createIndex work? Yes.
Q. If case-sensitive = true, an index exists with wrong case, will this index be used? No. Ignore this index
Q. If case-sensitive = false, an index exists with wrong case, will this index be used? Yes.

Environment

NA

@apoorvedave1 apoorvedave1 added untriaged This is the default tag for a newly created issue enhancement New feature or request and removed untriaged This is the default tag for a newly created issue labels Jun 23, 2020
@rapoth rapoth added this to the 0.2.0 milestone Jun 26, 2020
@apoorvedave1 apoorvedave1 changed the title Case insensitivity in index name and indexed and included column names Handle Case sensitivity in indexed and included column names appropriately Jun 29, 2020
@apoorvedave1 apoorvedave1 self-assigned this Jun 30, 2020
@rapoth rapoth added the intermediate issue This is the tag for intermediate issues which involve discussion label Jul 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request intermediate issue This is the tag for intermediate issues which involve discussion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants