[ 
https://issues.apache.org/jira/browse/SPARK-15217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reynold Xin closed SPARK-15217.
-------------------------------
    Resolution: Won't Fix

See https://issues.apache.org/jira/browse/SPARK-15229

> Always Case Insensitive in HiveSessionState
> -------------------------------------------
>
>                 Key: SPARK-15217
>                 URL: https://issues.apache.org/jira/browse/SPARK-15217
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>            Priority: Blocker
>
> In a `HiveSessionState`, which is a given `SparkSession` backed by Hive, the 
> analysis should not be case sensitive because the underlying Hive Metastore 
> is case insensitive. 
> For example, 
> {noformat}
> CREATE TABLE tab1 (C1 int);
> SELECT C1 FROM tab1
> {noformat}
> In the current implementation, we will get the following error because the 
> column name is always stored in lower case. 
> {noformat}
> cannot resolve '`C1`' given input columns: [c1]; line 1 pos 7
> org.apache.spark.sql.AnalysisException: cannot resolve '`C1`' given input 
> columns: [c1]; line 1 pos 7
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to