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

Apache Spark commented on SPARK-16999:
--------------------------------------

User 'gatorsmile' has created a pull request for this issue:
https://github.com/apache/spark/pull/14584

> Convert Keyword `path` of Data Source Tables to Lower Case
> ----------------------------------------------------------
>
>                 Key: SPARK-16999
>                 URL: https://issues.apache.org/jira/browse/SPARK-16999
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>
> `path` points to the location of data source tables. The parameters' keywords 
> are case insensitive. However, we do not always follow the rules. Below is 
> the summary of the case sensitivity support:
> **Case sensitive**
> - AlterTableSetLocationCommand
> - AlterTableRenameCommand
> - TruncateTableCommand
> - newHadoopConfWithOptions in SessionState
> **Case insensitive**
> - ShowCreateTableCommand
> - CreateDataSourceTableCommand
> - CreateDataSourceTableAsSelectCommand
> - getBatch in FileStreamSource
> - write in DataSource
> - inferFileFormatSchema in DataSource
> - sourceSchema in DataSource
> - createSource in DataSource
> - createSink in DataSource
> - resolveRelation in DataSource
> It is not maintainable to consider the case sensitivity of `path` in all the 
> current and future implementation. We should convert it to lower case for 
> simplifying the handling. 



--
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