You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Shwetha G S (JIRA)" <ji...@apache.org> on 2015/10/16 21:38:05 UTC

[jira] [Commented] (ATLAS-135) Re-model hive type system

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

Shwetha G S commented on ATLAS-135:
-----------------------------------

>From HiveMetaStoreBridge.createTableInstance()
        tableRef.set("createTime", hiveTable.getMetadata().getProperty(hive_metastoreConstants.DDL_TIME));
        tableRef.set(HiveDataModelGenerator.COMMENT, hiveTable.getParameters().get(HiveDataModelGenerator.COMMENT));

Some of the important properties(like createTime, comment) are stored as map<string, string> in hive metastore. They are mapped as is in the hive model. Instead, they should be exposed as first class attributes in hive model so that users can get/search for them in atlas

> Re-model hive type system
> -------------------------
>
>                 Key: ATLAS-135
>                 URL: https://issues.apache.org/jira/browse/ATLAS-135
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Shwetha G S
>            Assignee: John Speidel
>
> As of now, hive model looks like copy of hive metastore schema. For example, some important info like table type is part of parameters which is map<string, string>. We should re-model this to make search easier



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)