You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2016/12/02 19:34:58 UTC
[jira] [Updated] (HIVE-15342) Add support for primary/foreign keys
in HBase metastore
[ https://issues.apache.org/jira/browse/HIVE-15342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates updated HIVE-15342:
------------------------------
Attachment: HIVE-15342.patch
This patch adds two new columns in the catalog column column family in the tables_table, one for the primary key and one for all foreign keys. Putting it in the tables_table allows us to automatically drop the keys when the table is dropped, and in the future will allow a single call to fetch table and keys efficiently.
> Add support for primary/foreign keys in HBase metastore
> -------------------------------------------------------
>
> Key: HIVE-15342
> URL: https://issues.apache.org/jira/browse/HIVE-15342
> Project: Hive
> Issue Type: Improvement
> Components: HBase Metastore
> Reporter: Alan Gates
> Assignee: Alan Gates
> Fix For: 2.2.0
>
> Attachments: HIVE-15342.patch
>
>
> When HIVE-13076 was committed the calls into the HBase metastore were stubbed out. We need to implement support for constraints in the HBase metastore.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)