Bo Meng created SPARK-15952:
-------------------------------

             Summary: "show databases" does not get sorted result
                 Key: SPARK-15952
                 URL: https://issues.apache.org/jira/browse/SPARK-15952
             Project: Spark
          Issue Type: Bug
          Components: SQL
            Reporter: Bo Meng


Two issues I've found for "show databases" commands:
1. The returned database name list was not sorted, it only works when "like" 
was used together; (HIVE will always return a sorted list)
2. When it is used as sql("show databases").show, it will output a table with 
column named as "result", but for sql("show tables").show, it will output the 
column name as "tableName", so I think we should be consistent and use 
"databaseName" at least.

I will make a PR shortly.



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