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

Alan Gates commented on HIVE-17990:
-----------------------------------

In the current case this adds 3 strings and 1 enum to SerDeInfo.  As those 3 
strings will be null in all Hive cases and an enum should be 4 bytes, I have a 
hard time seeing how this adds to the memory pressure of HMS.

In the eventually case laid out in the design doc, this should significantly 
relieve memory pressure as every StorageDescriptor will not have to have a full 
copy of the schema.  Instead it can just refer to the appropriate SchemaVersion.

For unit tests, see TestHiveMetaStoreSchemaMethods.java included in the patch.

> Add Thrift and DB storage for Schema Registry objects
> -----------------------------------------------------
>
>                 Key: HIVE-17990
>                 URL: https://issues.apache.org/jira/browse/HIVE-17990
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Standalone Metastore
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>         Attachments: Adding-Schema-Registry-to-Metastore.pdf
>
>
> This JIRA tracks changes to Thrift, RawStore, and DB scripts to support 
> objects in the Schema Registry.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to