You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2025/12/16 12:43:00 UTC

[jira] [Resolved] (HIVE-29259) Remove label from text based output for desc catalog

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

Stamatis Zampetakis resolved HIVE-29259.
----------------------------------------
    Fix Version/s: 4.3.0
       Resolution: Fixed

Fixed in https://github.com/apache/hive/commit/aa91e92e2b4a7f47178b78ff11d147115c825f66

> Remove label from text based output for desc catalog
> ----------------------------------------------------
>
>                 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
>              Labels: pull-request-available
>             Fix For: 4.3.0
>
>         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)