[
https://issues.apache.org/jira/browse/HIVE-11985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14943638#comment-14943638
]
Ashutosh Chauhan commented on HIVE-11985:
-----------------------------------------
I would like to have other's opinion on this.
Patch arbitrarily replaces a long type name (> 2K chars) with a typename
{{struct<>}} for serde supplied schemas under the assumption that this typename
is not used for anything for query processing (now and in *future*). This
lossy information (stored permanently in metastore) for type might not be a
good idea, because this prevents us from using type information reliably in
future. We can never be sure whether type info is correct or truncated one.
Secondly, for its current use case (of describe table) it will atleast be
confusing for user to see struct<> in type info in describe output, as oppose
to actual type info.
IMHO, throwing an error for type name (> 2K) which is also part of the patch,
should be sufficient.
[~alangates] your thoughts?
> handle long typenames from Avro schema in metastore
> ---------------------------------------------------
>
> Key: HIVE-11985
> URL: https://issues.apache.org/jira/browse/HIVE-11985
> Project: Hive
> Issue Type: Bug
> Reporter: Sergey Shelukhin
> Assignee: Sergey Shelukhin
> Attachments: HIVE-11985.01.patch, HIVE-11985.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)