lemon-zoo-63387
07/22/2022, 9:43 AMpython3 -m datahub delete --env QA --entity_type dataset --platform hive
careful-pilot-86309
07/22/2022, 9:49 AMlemon-zoo-63387
07/22/2022, 9:50 AMcareful-pilot-86309
07/22/2022, 9:54 AMlemon-zoo-63387
07/22/2022, 9:55 AM[
{
"auditHeader": null,
"proposedSnapshot": {
"com.linkedin.pegasus2avro.metadata.snapshot.DatasetSnapshot": {
"urn": "urn:li:dataset:(urn:li:dataPlatform:hive,schema-data-nan,QA)",
"aspects": [
{
"com.linkedin.pegasus2avro.schema.SchemaMetadata": {
"schemaName": "schema-data-nan",
"platform": "urn:li:dataPlatform:hive",
"version": 0,
"created": {
"time": 1621882982738,
"actor": "urn:li:corpuser:etl",
"impersonator": null
},
"lastModified": {
"time": 1621882982738,
"actor": "urn:li:corpuser:etl",
"impersonator": null
},
"deleted": null,
"dataset": null,
"cluster": null,
"hash": "",
"platformSchema": {
"com.linkedin.pegasus2avro.schema.MySqlDDL": {
"tableSchema": ""
}
},
"fields": [
{
"fieldPath": "county_id",
"jsonPath": null,
"nullable": true,
"description": null,
"type": {
"type": {
"com.linkedin.pegasus2avro.schema.NumberType": {}
}
},
"nativeDataType": "Integer()",
"recursive": false,
"globalTags": null,
"glossaryTerms": null
},
{
"fieldPath": "county_name",
"jsonPath": null,
"nullable": true,
"description": null,
"type": {
"type": {
"com.linkedin.pegasus2avro.schema.StringType": {}
}
},
"nativeDataType": "String()",
"recursive": false,
"globalTags": null,
"glossaryTerms": null
},
{
"fieldPath": "county_address",
"jsonPath": null,
"nullable": true,
"description": null,
"type": {
"type": {
"com.linkedin.pegasus2avro.schema.StringType": {}
}
},
"nativeDataType": "String()",
"recursive": false,
"globalTags": null,
"glossaryTerms": null
},
{
"fieldPath": "num_infection_isolation_rooms",
"jsonPath": null,
"nullable": true,
"description": null,
"type": {
"type": {
"com.linkedin.pegasus2avro.schema.NumberType": {}
}
},
"nativeDataType": "Integer()",
"recursive": false,
"globalTags": null,
"glossaryTerms": null
}
],
"primaryKeys": null,
"foreignKeysSpecs": null
}
}
]
}
},
"proposedDelta": null
},
{
"auditHeader": null,
"proposedSnapshot": {
"com.linkedin.pegasus2avro.metadata.snapshot.DatasetSnapshot": {
"urn": "urn:li:dataset:(urn:li:dataPlatform:hive,schema-data-test,QA)",
"aspects": [
{
"com.linkedin.pegasus2avro.schema.SchemaMetadata": {
"schemaName": "schema-data-test",
"platform": "urn:li:dataPlatform:hive",
"version": 0,
"created": {
"time": 1621882983026,
"actor": "urn:li:corpuser:etl",
"impersonator": null
},
"lastModified": {
"time": 1621882983026,
"actor": "urn:li:corpuser:etl",
"impersonator": null
},
"deleted": null,
"dataset": null,
"cluster": null,
"hash": "",
"platformSchema": {
"com.linkedin.pegasus2avro.schema.MySqlDDL": {
"tableSchema": ""
}
},
"fields": [
{
"fieldPath": "county_type",
"jsonPath": null,
"nullable": true,
"description": null,
"type": {
"type": {
"com.linkedin.pegasus2avro.schema.StringType": {}
}
},
"nativeDataType": "String()",
"recursive": false,
"globalTags": null,
"glossaryTerms": null
},
{
"fieldPath": "county_name",
"jsonPath": null,
"nullable": true,
"description": null,
"type": {
"type": {
"com.linkedin.pegasus2avro.schema.StringType": {}
}
},
"nativeDataType": "String()",
"recursive": false,
"globalTags": null,
"glossaryTerms": null
},
{
"fieldPath": "state_name",
"jsonPath": null,
"nullable": true,
"description": null,
"type": {
"type": {
"com.linkedin.pegasus2avro.schema.StringType": {}
}
},
"nativeDataType": "String()",
"recursive": false,
"globalTags": null,
"glossaryTerms": null
},
{
"fieldPath": "personnel_code",
"jsonPath": null,
"nullable": true,
"description": null,
"type": {
"type": {
"com.linkedin.pegasus2avro.schema.NumberType": {}
}
},
"nativeDataType": "Integer()",
"recursive": false,
"globalTags": null,
"glossaryTerms": null
},
{
"fieldPath": "total_personnel_count",
"jsonPath": null,
"nullable": true,
"description": null,
"type": {
"type": {
"com.linkedin.pegasus2avro.schema.NumberType": {}
}
},
"nativeDataType": "Integer()",
"recursive": false,
"globalTags": null,
"glossaryTerms": null
}
],
"primaryKeys": null,
"foreignKeysSpecs": null
}
}
]
}
},
"proposedDelta": null
}
]
lemon-zoo-63387
07/22/2022, 9:56 AMcareful-pilot-86309
07/22/2022, 11:59 AMlemon-zoo-63387
07/24/2022, 3:24 AMlemon-zoo-63387
07/24/2022, 3:38 AMcareful-pilot-86309
07/25/2022, 4:42 AMcareful-pilot-86309
07/25/2022, 4:42 AMdatahub get --urn <urn>
better-orange-49102
07/25/2022, 7:34 AMcareful-pilot-86309
07/25/2022, 7:42 AMlemon-zoo-63387
07/25/2022, 9:39 AMbetter-orange-49102
07/25/2022, 9:41 AMdatahub get --urn="urn:li:dataset:(urn:li:dataPlatform:hive,schema-data-test,QA)"
careful-pilot-86309
07/25/2022, 9:42 AMdatahub get --urn "urn:li:dataset:(urn:li:dataPlatform:hive,schema-data-test,QA)"
lemon-zoo-63387
07/25/2022, 10:57 AMlemon-zoo-63387
07/25/2022, 10:58 AM"status":{
"removed": true
}
better-orange-49102
07/25/2022, 11:02 AMdatahub delete --env QA --entity_type dataset --platform hive --hard
then re ingestlemon-zoo-63387
07/25/2022, 11:13 AMbetter-orange-49102
07/25/2022, 11:16 AM{
"com.linkedin.pegasus2avro.common.Status": {
"removed": false
}
},
careful-pilot-86309
07/25/2022, 11:18 AMlemon-zoo-63387
07/25/2022, 11:24 AM