You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/06/14 21:32:30 UTC

[jira] [Commented] (SPARK-15952) "show databases" does not get sorted result

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

Apache Spark commented on SPARK-15952:
--------------------------------------

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

> "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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org