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

Case insensitive types #3

Merged
merged 2 commits into from
Oct 2, 2015
Merged

Conversation

saileshmittal
Copy link
Collaborator

Must revert it once Presto has case-insensitivity.

saileshmittal added a commit that referenced this pull request Oct 2, 2015
@saileshmittal saileshmittal merged commit cc53eb2 into twitter-master Oct 2, 2015
@saileshmittal
Copy link
Collaborator Author

@syed72 This was a hack I had to put because even the "use column names" options was not case insensitive and failed if the column names had capital letters. And as is stated in the commit message, this is not complete. I only hacked on one read path for column names. There are many places which have string equality checks, and it would take some effort in truly making it case insensitive.

In your case, the table name has capital letters. For that, I suggest changing the table name through hive's beeline. In fact, if your columns are all smalls, then you won't even need this patch.

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.

2 participants