Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-3187

Regression, Relationship updates : In GET entity definition of a deleted table, columns,sd etc., are empty

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • atlas-core

    Description

      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 :

      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"
      }
      }
      

      Attachments

        1. table_entity_def.json
          6 kB
          Sharmadha S

        Activity

          People

            madhan Madhan Neethiraj
            sharmadhas Sharmadha S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: