[
https://issues.apache.org/jira/browse/HIVE-29259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Butao Zhang updated HIVE-29259:
-------------------------------
Description:
At present, you can find the result format of desc catalog is messy & wrong,
e.g:
{code:java}
0: jdbc:hive2://127.0.0.1:10000/default> desc catalog hive;
+------------------+---------------------------------------------------------+------------+
| cat_name | comment | location |
+------------------+--------------------------------------------------------
+-------------+
| Catalog Name | hive | NULL |
| Comment | Default catalog for Hive | NULL |
| Location | hdfs://127.0.0.1:8028/user/hive/warehouse/hiveicetest |
NULL |
+------------------+---------------------------------------------------------+------------+{code}
*It should output the result in this format:*
{code:java}
0: jdbc:hive2://127.0.0.1:10000/default> desc catalog hive;
+------------------+-------------------------------------------------------+-------------------------------------------------------------+
| cat_name | comment |
location |
+------------------+-------------------------------------------------------+-------------------------------------------------------------+
| hive | Default catalog for Hive |
hdfs://127.0.0.1:8028/user/hive/warehouse/hiveicetest |
+------------------+-------------------------------------------------------+-------------------------------------------------------------+{code}
was:
At present, you can find the result format of desc catalog is messy & wrong,
e.g:
{code:java}
0: jdbc:hive2://127.0.0.1:10000/default> desc catalog hive;
+------------------+---------------------------------------------------------+------------+
| cat_name | comment | location |
+------------------+--------------------------------------------------------
+-------------+
| Catalog Name | hive | NULL |
| Comment | Default catalog for Hive | NULL |
| Location | hdfs://100.71.9.13:8028/user/hive/warehouse/hiveicetest |
NULL |
+------------------+---------------------------------------------------------+------------+{code}
*It should output the result in this format:*
{code:java}
0: jdbc:hive2://127.0.0.1:10000/default> desc catalog hive;
+------------------+-------------------------------------------------------+-------------------------------------------------------------+
| cat_name | comment |
location |
+------------------+-------------------------------------------------------+-------------------------------------------------------------+
| hive | Default catalog for Hive |
hdfs://100.71.9.13:8028/user/hive/warehouse/hiveicetest |
+------------------+-------------------------------------------------------+-------------------------------------------------------------+{code}
> The result format of the desc catalog is messy
> ----------------------------------------------
>
> Key: HIVE-29259
> URL: https://issues.apache.org/jira/browse/HIVE-29259
> Project: Hive
> Issue Type: Sub-task
> Reporter: Butao Zhang
> Priority: Major
>
> At present, you can find the result format of desc catalog is messy & wrong,
> e.g:
> {code:java}
> 0: jdbc:hive2://127.0.0.1:10000/default> desc catalog hive;
> +------------------+---------------------------------------------------------+------------+
> | cat_name | comment | location |
> +------------------+--------------------------------------------------------
> +-------------+
> | Catalog Name | hive | NULL |
> | Comment | Default catalog for Hive | NULL |
> | Location | hdfs://127.0.0.1:8028/user/hive/warehouse/hiveicetest |
> NULL |
> +------------------+---------------------------------------------------------+------------+{code}
>
>
> *It should output the result in this format:*
> {code:java}
> 0: jdbc:hive2://127.0.0.1:10000/default> desc catalog hive;
> +------------------+-------------------------------------------------------+-------------------------------------------------------------+
> | cat_name | comment |
> location |
> +------------------+-------------------------------------------------------+-------------------------------------------------------------+
> | hive | Default catalog for Hive |
> hdfs://127.0.0.1:8028/user/hive/warehouse/hiveicetest |
> +------------------+-------------------------------------------------------+-------------------------------------------------------------+{code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)