[
https://issues.apache.org/jira/browse/ATLAS-3187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16831951#comment-16831951
]
ASF subversion and git services commented on ATLAS-3187:
--------------------------------------------------------
Commit 114246d86da4e151393b0375337c164fb7fa2291 in atlas's branch
refs/heads/branch-2.0 from Madhan Neethiraj
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=114246d ]
ATLAS-3187: columns attribute is empty for deleted hive_table entity
(cherry picked from commit aaf0ba23b418d1b5b128ec4b8854287e878e2b4e)
> Regression, Relationship updates : In GET entity definition of a deleted
> table, columns,sd etc., are empty
> ----------------------------------------------------------------------------------------------------------
>
> Key: ATLAS-3187
> URL: https://issues.apache.org/jira/browse/ATLAS-3187
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 2.0.0
> Reporter: Sharmadha Sainath
> Priority: Critical
> Fix For: 2.0.0
>
> Attachments: table_entity_def.json
>
>
> Adding the table_entity_def["entity"]["attributes"]:
> Here , table is deleted , but the columns array and sd are [] and null
> respectively. Expected is all entities in DELETED state.
> Attaching the complete table definition :
> {code}
> attributes: {
> owner: "hrt_qa",
> temporary: false,
> lastAccessTime: 1556788686000,
> aliases: null,
> replicatedTo: null,
> replicatedFrom: null,
> qualifiedName: "default.table1@cl1",
> columns: [ ],
> description: null,
> viewExpandedText: null,
> tableType: "MANAGED_TABLE",
> sd: null,
> createTime: 1556788686000,
> name: "table1",
> comment: null,
> partitionKeys: [ ],
> parameters: {
> totalSize: "0",
> numRows: "0",
> rawDataSize: "0",
> transactional_properties: "default",
> COLUMN_STATS_ACCURATE: "{"BASIC_STATS":"true","COLUMN_STATS":{"id":"true"}}",
> numFiles: "0",
> transient_lastDdlTime: "1556788686",
> bucketing_version: "2",
> transactional: "true"
> },
> retention: 0,
> viewOriginalText: null,
> db: {
> guid: "ab02dd3b-1d1c-4522-8c2c-0fa60d82fcbe",
> typeName: "hive_db"
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)