mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-02 13:44:39 +00:00
163 lines
5.4 KiB
JSON
163 lines
5.4 KiB
JSON
[
|
|
{
|
|
"auditHeader": null,
|
|
"proposedSnapshot": {
|
|
"com.linkedin.pegasus2avro.metadata.snapshot.DatasetSnapshot": {
|
|
"urn": "urn:li:dataset:(urn:li:dataPlatform:graph,graph-test,PROD)",
|
|
"aspects": [
|
|
{
|
|
"com.linkedin.pegasus2avro.common.BrowsePaths": {
|
|
"paths": [
|
|
"/prod/kafka/SampleKafkaDataset"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"com.linkedin.pegasus2avro.dataset.DatasetProperties": {
|
|
"description": null,
|
|
"uri": null,
|
|
"tags": [],
|
|
"customProperties": {
|
|
"prop1": "fakeprop",
|
|
"prop2": "pikachu"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"com.linkedin.pegasus2avro.common.Ownership": {
|
|
"owners": [
|
|
{
|
|
"owner": "urn:li:corpuser:jdoe",
|
|
"type": "DATAOWNER",
|
|
"source": null
|
|
},
|
|
{
|
|
"owner": "urn:li:corpuser:datahub",
|
|
"type": "DATAOWNER",
|
|
"source": null
|
|
}
|
|
],
|
|
"lastModified": {
|
|
"time": 1581407189000,
|
|
"actor": "urn:li:corpuser:jdoe",
|
|
"impersonator": null
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"com.linkedin.pegasus2avro.common.InstitutionalMemory": {
|
|
"elements": [
|
|
{
|
|
"url": "https://www.linkedin.com",
|
|
"description": "Sample doc",
|
|
"createStamp": {
|
|
"time": 1581407189000,
|
|
"actor": "urn:li:corpuser:jdoe",
|
|
"impersonator": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"com.linkedin.pegasus2avro.schema.SchemaMetadata": {
|
|
"schemaName": "SampleKafkaSchema",
|
|
"platform": "urn:li:dataPlatform:kafka",
|
|
"version": 0,
|
|
"created": {
|
|
"time": 1581407189000,
|
|
"actor": "urn:li:corpuser:jdoe",
|
|
"impersonator": null
|
|
},
|
|
"lastModified": {
|
|
"time": 1581407189000,
|
|
"actor": "urn:li:corpuser:jdoe",
|
|
"impersonator": null
|
|
},
|
|
"deleted": null,
|
|
"dataset": null,
|
|
"cluster": null,
|
|
"hash": "",
|
|
"platformSchema": {
|
|
"com.linkedin.pegasus2avro.schema.KafkaSchema": {
|
|
"documentSchema": "{\"type\":\"record\",\"name\":\"SampleKafkaSchema\",\"namespace\":\"com.linkedin.dataset\",\"doc\":\"Sample Kafka dataset\",\"fields\":[{\"name\":\"field_foo\",\"type\":[\"string\"]},{\"name\":\"field_bar\",\"type\":[\"boolean\"]}]}"
|
|
}
|
|
},
|
|
"fields": [
|
|
{
|
|
"fieldPath": "[version=2.0].[type=boolean].field_foo_2",
|
|
"jsonPath": null,
|
|
"nullable": false,
|
|
"description": {
|
|
"string": "Foo field description"
|
|
},
|
|
"type": {
|
|
"type": {
|
|
"com.linkedin.pegasus2avro.schema.BooleanType": {}
|
|
}
|
|
},
|
|
"nativeDataType": "varchar(100)",
|
|
"globalTags": {
|
|
"tags": [
|
|
{
|
|
"tag": "urn:li:tag:NeedsDocumentation1"
|
|
}
|
|
]
|
|
},
|
|
"recursive": false
|
|
},
|
|
{
|
|
"fieldPath": "[version=2.0].[type=boolean].field_bar",
|
|
"jsonPath": null,
|
|
"nullable": false,
|
|
"description": {
|
|
"string": "Bar field description"
|
|
},
|
|
"type": {
|
|
"type": {
|
|
"com.linkedin.pegasus2avro.schema.BooleanType": {}
|
|
}
|
|
},
|
|
"nativeDataType": "boolean",
|
|
"globalTags": {
|
|
"tags": [
|
|
{
|
|
"tag": "urn:li:tag:NeedsDocumentation2"
|
|
}
|
|
]
|
|
},
|
|
"recursive": false
|
|
},
|
|
{
|
|
"fieldPath": "[version=2.0].[key=True].[type=int].id",
|
|
"jsonPath": null,
|
|
"nullable": false,
|
|
"description": {
|
|
"string": "Id specifying which partition the message should go to"
|
|
},
|
|
"type": {
|
|
"type": {
|
|
"com.linkedin.pegasus2avro.schema.BooleanType": {}
|
|
}
|
|
},
|
|
"nativeDataType": "boolean",
|
|
"globalTags": {
|
|
"tags": [
|
|
{
|
|
"tag": "urn:li:tag:NeedsDocumentation3"
|
|
}
|
|
]
|
|
},
|
|
"recursive": false
|
|
}
|
|
],
|
|
"primaryKeys": null,
|
|
"foreignKeysSpecs": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"proposedDelta": null
|
|
}
|
|
] |