Skip to content

CLASSIFICATION_DELETE event type

CLASSIFICATION_DELETE events are emitted whenever a tag is removed from an asset in Atlan. This includes:

  • When a tag is removed directly from an asset
  • When a tag removal is propagated to an asset (asynchronously)
One CLASSIFICATION_DELETE event is emitted for each asset that is untagged

So, for example, if you untag a term in Atlan that uses default propagation and:

  • Is linked to 1 table,
  • Which has 2 downstream tables (in lineage),
  • And also has 10 columns, 3 of which have 1 downstream column each (in lineage)

Atlan will emit 17 CLASSIFICATION_DELETE events. (Note that because the propagations occur asynchronously, it is unlikely these 17 events will be back-to-back (without other events in-between) in the event bus.)

The details of the tagged asset will be in the message.entity portion of the event payload. The event payload shows the tag that was removed in the message.mutatedDetails portion of the event payload.

Tags use internal Atlan IDs

Also note that the tag names use Atlan's internal IDs in the event payload. You will need to translate these to the human-readable names you see in the Atlan UI. (The SDKs provide operations to do these lookups.)

Example CLASSIFICATION_DELETE event
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
{
  "source": {},
  "version": {
    "version": "1.0.0",
    "versionParts": [
      1
    ]
  },
  "msgCompressionKind": "NONE",
  "msgSplitIdx": 1,
  "msgSplitCount": 1,
  "msgSourceIP": "10.121.193.228",
  "msgCreatedBy": "",
  "msgCreationTime": 1666964493302,
  "spooled": false,
  "message": {
    "type": "ENTITY_NOTIFICATION_V2",
    "entity": {
      "typeName": "Column",
      "attributes": {
        "popularityScore": 1.17549435e-38,
        "lastSyncRunAt": 1666792022425,
        "databaseName": "FIVETRAN",
        "precision": 18,
        "lastSyncRun": "atlan-snowflake-1666769582-55jct",
        "schemaName": "POSTGRES_RDS_DEMO_DEV",
        "tableName": "INSTACART_UNIQUE_USERS",
        "adminUsers": [],
        "queryUserCount": 0,
        "sourceUpdatedAt": 0,
        "assetDbtJobLastRunArtifactsSaved": false,
        "isEditable": true,
        "isPartition": false,
        "announcementUpdatedAt": 0,
        "order": 1,
        "sourceCreatedAt": 0,
        "assetDbtJobLastRunDequedAt": 0,
        "assetDbtTags": [],
        "isIndexed": false,
        "qualifiedName": "default/snowflake/1666769582/FIVETRAN/POSTGRES_RDS_DEMO_DEV/INSTACART_UNIQUE_USERS/TOTAL_USER",
        "dataType": "NUMBER",
        "assetDbtJobLastRunNotificationsSent": false,
        "isClustered": false,
        "isNullable": false,
        "name": "TOTAL_USER",
        "certificateUpdatedAt": 0,
        "connectorName": "snowflake",
        "numericScale": 0,
        "maxLength": 0,
        "ownerUsers": [],
        "isSort": false,
        "lastSyncWorkflowName": "activate-poc-crawler",
        "connectionQualifiedName": "default/snowflake/1666769582",
        "assetDbtJobLastRunHasSourcesGenerated": false,
        "isForeign": false,
        "assetDbtJobLastRunHasDocsGenerated": false,
        "queryCount": 0,
        "pinnedAt": 0,
        "isDist": false,
        "assetDbtJobLastRunUpdatedAt": 0,
        "ownerGroups": [],
        "isPrimary": false,
        "assetDbtJobLastRunStartedAt": 0,
        "isDiscoverable": true,
        "schemaQualifiedName": "default/snowflake/1666769582/FIVETRAN/POSTGRES_RDS_DEMO_DEV",
        "viewerUsers": [],
        "adminRoles": [],
        "adminGroups": [],
        "isPinned": false,
        "assetDbtJobLastRunCreatedAt": 0,
        "databaseQualifiedName": "default/snowflake/1666769582/FIVETRAN",
        "assetDbtJobNextRun": 0,
        "tableQualifiedName": "default/snowflake/1666769582/FIVETRAN/POSTGRES_RDS_DEMO_DEV/INSTACART_UNIQUE_USERS",
        "partitionOrder": 0,
        "viewerGroups": [],
        "assetDbtJobLastRun": 0
      },
      "guid": "9065bba5-22b8-4331-bff8-1bdf017c5cfb",
      "status": "ACTIVE",
      "displayText": "TOTAL_USER",
      "isIncomplete": false,
      "createdBy": "kartik.thakur",
      "updatedBy": "kartik.thakur",
      "createTime": 1666792644294,
      "updateTime": 1666964493133
    },
    "operationType": "CLASSIFICATION_DELETE",
    "eventTime": 1666964493133,
    "mutatedDetails": [
      {
        "typeName": "jUQpLPdg9hWoheH2eL9Ha2",
        "entityGuid": "9065bba5-22b8-4331-bff8-1bdf017c5cfb",
        "entityStatus": "ACTIVE",
        "propagate": true,
        "removePropagationsOnEntityDelete": true,
        "restrictPropagationThroughLineage": false
      }
    ]
  }
}