forked from prestodb/presto
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compare types ignoring cases. This is not complete solution and shoul…
…d be reverted once prestodb#2863 is resolved.
- Loading branch information
Sailesh Mittal
committed
Oct 2, 2015
1 parent
eff7e3b
commit ec109d1
Showing
5 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ec109d1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried above code changes and applied, still it throws the below exception:
java.lang.IllegalArgumentException: tableName is not lowercase
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145)
at com.facebook.presto.metadata.MetadataUtil.checkLowerCase(MetadataUtil.java:101)
at com.facebook.presto.metadata.MetadataUtil.checkTableName(MetadataUtil.java:85)
at com.facebook.presto.metadata.QualifiedTableName.(QualifiedTableName.java:51)
at com.facebook.presto.metadata.MetadataUtil.createQualifiedTableName(MetadataUtil.java:128)
at com.facebook.presto.sql.analyzer.StatementAnalyzer.visitShowColumns(StatementAnalyzer.java:232)
at com.facebook.presto.sql.analyzer.StatementAnalyzer.visitShowColumns(StatementAnalyzer.java:126)
at com.facebook.presto.sql.tree.ShowColumns.accept(ShowColumns.java:39)
at com.facebook.presto.sql.tree.AstVisitor.process(AstVisitor.java:22)
at com.facebook.presto.sql.analyzer.Analyzer.analyze(Analyzer.java:60)
at com.facebook.presto.execution.SqlQueryExecution.doAnalyzeQuery(SqlQueryExecution.java:259)
at com.facebook.presto.execution.SqlQueryExecution.analyzeQuery(SqlQueryExecution.java:245)
at com.facebook.presto.execution.SqlQueryExecution.start(SqlQueryExecution.java:209)
at com.facebook.presto.execution.QueuedExecution.lambda$start$152(QueuedExecution.java:68)
at com.facebook.presto.execution.QueuedExecution$$Lambda$240/987644155.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)