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

Butao Zhang edited comment on HIVE-29259 at 12/7/25 8:32 AM:
-------------------------------------------------------------

What we might be talking about is not the same issue. What I mean is that the 
output for the *{*}cat_name{*}* column should not be *{*}Catalog Name{*}{*}, 
**Comment{*}{*}, and **Location{*}{*}, but should instead be **hive{*}*. For 
example, the correct output should be as follows:

 

!image-2025-12-07-16-32-38-959.png|width=612,height=85!

 


was (Author: zhangbutao):
What we might be talking about is not the same issue. What I mean is that the 
output for the **cat_name** column should not be **Catalog Name**, **Comment**, 
and **Location**, but should instead be **hive**. For example, the correct 
output should be as follows:

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

> 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
>            Assignee: Raghav Aggarwal
>            Priority: Major
>         Attachments: MaxWidth_set_100.png, With_Default_MaxWidth.png, 
> desc_catalog_output.png, image-2025-12-07-16-32-38-959.png
>
>
> 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)

Reply via email to