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

Davies Liu updated SPARK-14526:
-------------------------------
    Priority: Blocker  (was: Major)

> The catalog of SQLContext should not be case-sensitive 
> -------------------------------------------------------
>
>                 Key: SPARK-14526
>                 URL: https://issues.apache.org/jira/browse/SPARK-14526
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Davies Liu
>            Assignee: Andrew Or
>            Priority: Blocker
>
> {code}
> >>> from pyspark.sql import SQLContext
> >>> ctx = SQLContext(sc)
> >>> ctx.range(10).registerTempTable("t")
> >>> ctx.table("T")
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/Users/davies/work/spark/python/pyspark/sql/context.py", line 522, in 
> table
>     return DataFrame(self._ssql_ctx.table(tableName), self)
>   File 
> "/Users/davies/work/spark/python/lib/py4j-0.9.2-src.zip/py4j/java_gateway.py",
>  line 836, in __call__
>   File "/Users/davies/work/spark/python/pyspark/sql/utils.py", line 57, in 
> deco
>     raise AnalysisException(s.split(': ', 1)[1], stackTrace)
> pyspark.sql.utils.AnalysisException: u"Table not found: 'T' does not exist in 
> database 'default';"
> {code}
> Is this a feature or a bug?



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