[ 
https://issues.apache.org/jira/browse/SPARK-8377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14596974#comment-14596974
 ] 

Michael Armbrust commented on SPARK-8377:
-----------------------------------------

I'm not sure I follow.  Case insensitivity does not just lowercase everything 
(Hive Metastore does this, but Spark SQL's analyzer has not since 1.2).  In 
general we try to be case insensitive but case preserving.  When interacting 
with other datasources we use expression IDs to look up the original attributes 
capitalization.

> Identifiers caseness information should be available at any time
> ----------------------------------------------------------------
>
>                 Key: SPARK-8377
>                 URL: https://issues.apache.org/jira/browse/SPARK-8377
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Santiago M. Mola
>
> Currently, we have the option of having a case sensitive catalog or not. A 
> case insensitive catalog just lowercases all identifiers. However, when 
> pushing down to a data source, we lose the information about if an identifier 
> should be case insensitive or strictly lowercase.
> Ideally, we would be able to distinguish a case insensitive identifier from a 
> case sensitive one.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to