hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefty Leverenz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6044) webhcat should be able to return detailed serde information when show table using "fromat=extended"
Date Sat, 28 Dec 2013 04:30:51 GMT

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

Lefty Leverenz commented on HIVE-6044:
--------------------------------------

We need another sample output in the Get Table wikidoc similar to the current output for format=extended.

* [Get Table|https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference+GetTable]
* [JSON Output (extended)|https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference+GetTable#WebHCatReferenceGetTable-JSONOutput(extended)]

If someone supplies it here, I'll add it with a release 0.13 note.

_Aside:_  the patch has a javadoc typo in line 33 that probably won't confuse anyone: 
{{+   * Return a json "show table extended like" with extra info from "desc exteded"}}

> webhcat should be able to return detailed serde information when show table using "fromat=extended"
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-6044
>                 URL: https://issues.apache.org/jira/browse/HIVE-6044
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Shuaishuai Nie
>            Assignee: Shuaishuai Nie
>             Fix For: 0.13.0
>
>         Attachments: HIVE-6044.1.patch
>
>
> Now in webhcat, when using GET ddl/database/:db/table/:table and "format=extended", return
value is based on query "show table extended like". However, this query doesn't contains serde
info like "line.delim" and "filed.delim". In this case, user won't have enough information
to reconstruct the exact same table based on the information from the json file. The "descExtendedTable"
function in HcatDelegator should also return extra fields from query "desc extended tablename"
which contains fields "sd", "retention", "parameters" "parametersSize" and "tableType".



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message