You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/06/15 02:23:35 UTC

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

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

Reynold Xin resolved SPARK-15952.
---------------------------------
       Resolution: Fixed
         Assignee: Bo Meng
    Fix Version/s: 2.0.0

> "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
>            Assignee: Bo Meng
>             Fix For: 2.0.0
>
>
> 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