forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewschemav2.json
101 lines (101 loc) · 2.85 KB
/
newschemav2.json
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
101
{
"schemaName": "db1.nested_struct_test",
"platform": "urn:li:dataPlatform:hive",
"version": 0,
"created": {
"time": 0,
"actor": "urn:li:corpuser:unknown",
"impersonator": "urn:li:corpuser:jdoe"
},
"lastModified": {
"time": 0,
"actor": "urn:li:corpuser:unknown",
"impersonator": "urn:li:corpuser:jdoe"
},
"hash": "",
"platformSchema": {
"com.linkedin.schema.MySqlDDL": {
"tableSchema": ""
}
},
"fields": [
{
"fieldPath": "property_id",
"type": {
"type": {
"com.linkedin.schema.NumberType": {}
}
},
"nativeDataType": "int",
"recursive": false,
"isPartOfKey": false
},
{
"fieldPath": "[version=2.0].[type=struct].[type=struct].service",
"nullable": true,
"type": {
"type": {
"com.linkedin.schema.RecordType": {}
}
},
"nativeDataType": "struct<type:string,provider:struct<name:varchar(50),id:tinyint>>",
"recursive": false,
"isPartOfKey": false,
"jsonProps": "{\"native_data_type\": \"struct<type:string,provider:struct<name:varchar(50),id:tinyint>>\"}"
},
{
"fieldPath": "[version=2.0].[type=struct].[type=struct].service.[type=string].type",
"nullable": true,
"type": {
"type": {
"com.linkedin.schema.StringType": {}
}
},
"nativeDataType": "string",
"recursive": false,
"isPartOfKey": false,
"jsonProps": "{\"native_data_type\": \"string\", \"_nullable\": true}"
},
{
"fieldPath": "[version=2.0].[type=struct].[type=struct].service.[type=struct].provider",
"nullable": true,
"type": {
"type": {
"com.linkedin.schema.RecordType": {}
}
},
"nativeDataType": "struct<name:varchar(50),id:tinyint>",
"recursive": false,
"isPartOfKey": false,
"jsonProps": "{\"native_data_type\": \"struct<name:varchar(50),id:tinyint>\"}"
},
{
"fieldPath": "[version=2.0].[type=struct].[type=struct].service.[type=struct].provider.[type=int].id3",
"description": "Service provider name",
"nullable": true,
"type": {
"type": {
"com.linkedin.schema.NumberType": {}
}
},
"nativeDataType": "tinyint",
"recursive": false,
"isPartOfKey": false,
"jsonProps": "{\"native_data_type\": \"tinyint\", \"_nullable\": true}"
},
{
"fieldPath": "[version=2.0].[type=struct].[type=struct].service.[type=struct].provider.[type=int].id2",
"nullable": true,
"description": "Service provider id",
"type": {
"type": {
"com.linkedin.schema.NumberType": {}
}
},
"nativeDataType": "tinyint",
"recursive": false,
"isPartOfKey": false,
"jsonProps": "{\"native_data_type\": \"tinyint\", \"_nullable\": true}"
}
]
}