You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Bo Meng (JIRA)" <ji...@apache.org> on 2016/06/14 21:28:30 UTC
[jira] [Created] (SPARK-15952) "show databases" does not get sorted
result
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org