Skip to content

Commit

Permalink
fix(ingest): fix issue in glue tests (datahub-project#7185)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 authored and Oleg Ruban committed Feb 28, 2023
1 parent e45753d commit 35b95e1
Show file tree
Hide file tree
Showing 4 changed files with 2,230 additions and 1,860 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,15 @@
"changeType": "UPSERT",
"aspectName": "containerProperties",
"aspect": {
"value": "{\"customProperties\": {\"platform\": \"glue\", \"instance\": \"PROD\", \"database\": \"test-database\"}, \"name\": \"test-database\", \"qualifiedName\": \"arn:aws:glue:eu-east-1:123412341234:database/test-database\"}",
"contentType": "application/json"
"json": {
"customProperties": {
"platform": "glue",
"instance": "PROD",
"database": "test-database"
},
"name": "test-database",
"qualifiedName": "arn:aws:glue:eu-east-1:123412341234:database/test-database"
}
},
"systemMetadata": {
"lastObserved": 1586847600000,
Expand All @@ -19,8 +26,9 @@
"changeType": "UPSERT",
"aspectName": "status",
"aspect": {
"value": "{\"removed\": false}",
"contentType": "application/json"
"json": {
"removed": false
}
},
"systemMetadata": {
"lastObserved": 1586847600000,
Expand All @@ -33,8 +41,9 @@
"changeType": "UPSERT",
"aspectName": "dataPlatformInstance",
"aspect": {
"value": "{\"platform\": \"urn:li:dataPlatform:glue\"}",
"contentType": "application/json"
"json": {
"platform": "urn:li:dataPlatform:glue"
}
},
"systemMetadata": {
"lastObserved": 1586847600000,
Expand All @@ -47,8 +56,11 @@
"changeType": "UPSERT",
"aspectName": "subTypes",
"aspect": {
"value": "{\"typeNames\": [\"Database\"]}",
"contentType": "application/json"
"json": {
"typeNames": [
"Database"
]
}
},
"systemMetadata": {
"lastObserved": 1586847600000,
Expand Down Expand Up @@ -212,8 +224,11 @@
"changeType": "UPSERT",
"aspectName": "subTypes",
"aspect": {
"value": "{\"typeNames\": [\"table\"]}",
"contentType": "application/json"
"json": {
"typeNames": [
"table"
]
}
},
"systemMetadata": {
"lastObserved": 1586847600000,
Expand All @@ -226,8 +241,9 @@
"changeType": "UPSERT",
"aspectName": "container",
"aspect": {
"value": "{\"container\": \"urn:li:container:bdf4342ea6899d162eae685bfe9074a7\"}",
"contentType": "application/json"
"json": {
"container": "urn:li:container:bdf4342ea6899d162eae685bfe9074a7"
}
},
"systemMetadata": {
"lastObserved": 1586847600000,
Expand Down Expand Up @@ -392,8 +408,11 @@
"changeType": "UPSERT",
"aspectName": "subTypes",
"aspect": {
"value": "{\"typeNames\": [\"table\"]}",
"contentType": "application/json"
"json": {
"typeNames": [
"table"
]
}
},
"systemMetadata": {
"lastObserved": 1586847600000,
Expand All @@ -406,8 +425,24 @@
"changeType": "UPSERT",
"aspectName": "container",
"aspect": {
"value": "{\"container\": \"urn:li:container:bdf4342ea6899d162eae685bfe9074a7\"}",
"contentType": "application/json"
"json": {
"container": "urn:li:container:bdf4342ea6899d162eae685bfe9074a7"
}
},
"systemMetadata": {
"lastObserved": 1586847600000,
"runId": "glue-2020_04_14-07_00_00"
}
},
{
"entityType": "container",
"entityUrn": "urn:li:container:0b9f1f731ecf6743be6207fec3dc9cba",
"changeType": "UPSERT",
"aspectName": "status",
"aspect": {
"json": {
"removed": true
}
},
"systemMetadata": {
"lastObserved": 1586847600000,
Expand All @@ -420,8 +455,9 @@
"changeType": "UPSERT",
"aspectName": "status",
"aspect": {
"value": "{\"removed\": true}",
"contentType": "application/json"
"json": {
"removed": true
}
},
"systemMetadata": {
"lastObserved": 1586847600000,
Expand Down
Loading

0 comments on commit 35b95e1

Please sign in to comment.