[ https://issues.apache.org/jira/browse/ATLAS-3197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16836785#comment-16836785 ]
Le Ma commented on ATLAS-3197: ------------------------------ ATLAS-3197-2.patch is the enhancement patch from what is committed in the code base. It includes handling CTAS table creation andĀ corresponding tests. A minor change in the committed test added since last commit. > Add QueryText for hive_table and hive_db > ---------------------------------------- > > Key: ATLAS-3197 > URL: https://issues.apache.org/jira/browse/ATLAS-3197 > Project: Atlas > Issue Type: New Feature > Reporter: Le Ma > Assignee: Le Ma > Priority: Major > Fix For: trunk > > Attachments: ATLAS-3197-2.patch, ATLAS-3197.patch > > > This patch introduced a model called Hive_table_ddl and hive_db_ddl which are > used to track commands that are executed either on a table entity or bd > entity. DDL entities will be added to a table/db entity through > relationshipAttribute call HIVE_DB_TO_DDL and hive_tb_to_ddl. Every time when > a new command is executed, a new ddl entity will be created, it will append > to the existing ddlQueries field if a table/db has already been created. Once > a table/db is deleted, all these relationship attributes will be deleted as > well. -- This message was sent by Atlassian JIRA (v7.6.3#76005)