diff --git a/metadata-ingestion/tests/integration/bigquery_v2/bigquery_mcp_golden.json b/metadata-ingestion/tests/integration/bigquery_v2/bigquery_mcp_golden.json index 29d4405c7e943..458370cf8ad6b 100644 --- a/metadata-ingestion/tests/integration/bigquery_v2/bigquery_mcp_golden.json +++ b/metadata-ingestion/tests/integration/bigquery_v2/bigquery_mcp_golden.json @@ -121,7 +121,7 @@ "json": { "tags": [ { - "tag": "urn:li:tag:urn:li:tag:priority:medium" + "tag": "urn:li:tag:urn:li:tag:priority:medium:test" } ] } @@ -279,18 +279,18 @@ }, { "entityType": "platformResource", - "entityUrn": "urn:li:platformResource:f420ca7ace87c5abc48b587e816ddafa", + "entityUrn": "urn:li:platformResource:7fbbf79fb726422dc2434222a8e30630", "changeType": "UPSERT", "aspectName": "platformResourceInfo", "aspect": { "json": { "resourceType": "BigQueryLabelInfo", - "primaryKey": "priority/medium", + "primaryKey": "priority/medium:test", "secondaryKeys": [ - "urn:li:tag:priority:medium" + "urn:li:tag:priority:medium:test" ], "value": { - "blob": "{\"datahub_urn\": \"urn:li:tag:priority:medium\", \"managed_by_datahub\": false, \"key\": \"priority\", \"value\": \"medium\"}", + "blob": "{\"datahub_urn\": \"urn:li:tag:priority:medium:test\", \"managed_by_datahub\": false, \"key\": \"priority\", \"value\": \"medium:test\"}", "contentType": "JSON", "schemaType": "JSON", "schemaRef": "BigQueryLabelInfo" @@ -305,7 +305,7 @@ }, { "entityType": "platformResource", - "entityUrn": "urn:li:platformResource:f420ca7ace87c5abc48b587e816ddafa", + "entityUrn": "urn:li:platformResource:7fbbf79fb726422dc2434222a8e30630", "changeType": "UPSERT", "aspectName": "dataPlatformInstance", "aspect": { @@ -321,7 +321,7 @@ }, { "entityType": "platformResource", - "entityUrn": "urn:li:platformResource:f420ca7ace87c5abc48b587e816ddafa", + "entityUrn": "urn:li:platformResource:7fbbf79fb726422dc2434222a8e30630", "changeType": "UPSERT", "aspectName": "status", "aspect": { @@ -1321,12 +1321,12 @@ }, { "entityType": "tag", - "entityUrn": "urn:li:tag:urn:li:tag:priority:medium", + "entityUrn": "urn:li:tag:urn:li:tag:priority:medium:test", "changeType": "UPSERT", "aspectName": "tagKey", "aspect": { "json": { - "name": "urn:li:tag:priority:medium" + "name": "urn:li:tag:priority:medium:test" } }, "systemMetadata": { diff --git a/metadata-ingestion/tests/integration/bigquery_v2/test_bigquery.py b/metadata-ingestion/tests/integration/bigquery_v2/test_bigquery.py index f2c976acc9df2..22c83bb62f811 100644 --- a/metadata-ingestion/tests/integration/bigquery_v2/test_bigquery.py +++ b/metadata-ingestion/tests/integration/bigquery_v2/test_bigquery.py @@ -143,7 +143,7 @@ def side_effect(*args: Any) -> Optional[PlatformResource]: get_platform_resource.side_effect = side_effect get_datasets_for_project_id.return_value = [ # BigqueryDataset(name=dataset_name, location="US") - BigqueryDataset(name=dataset_name, location="US", labels={"priority": "medium"}) + BigqueryDataset(name=dataset_name, location="US", labels={"priority": "medium:test"}) ] table_list_item = TableListItem(