acryl-datahub-cloud 0.3.6.9rc1__py3-none-any.whl → 0.3.7rc1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. acryl_datahub_cloud/_codegen_config.json +1 -1
  2. acryl_datahub_cloud/datahub_reporting/extract_graph.py +1 -1
  3. acryl_datahub_cloud/datahub_usage_reporting/usage_feature_patch_builder.py +466 -0
  4. acryl_datahub_cloud/datahub_usage_reporting/usage_feature_reporter.py +432 -34
  5. acryl_datahub_cloud/metadata/_urns/urn_defs.py +788 -5
  6. acryl_datahub_cloud/metadata/com/linkedin/pegasus2avro/actionrequest/__init__.py +2 -0
  7. acryl_datahub_cloud/metadata/com/linkedin/pegasus2avro/ai/__init__.py +23 -0
  8. acryl_datahub_cloud/metadata/com/linkedin/pegasus2avro/assertion/__init__.py +4 -0
  9. acryl_datahub_cloud/metadata/com/linkedin/pegasus2avro/structured/__init__.py +2 -0
  10. acryl_datahub_cloud/metadata/schema.avsc +774 -75
  11. acryl_datahub_cloud/metadata/schema_classes.py +750 -20
  12. acryl_datahub_cloud/metadata/schemas/Access.avsc +2 -1
  13. acryl_datahub_cloud/metadata/schemas/ActionRequestInfo.avsc +76 -0
  14. acryl_datahub_cloud/metadata/schemas/AiInferenceMetadata.avsc +42 -0
  15. acryl_datahub_cloud/metadata/schemas/AnomaliesSummary.avsc +16 -8
  16. acryl_datahub_cloud/metadata/schemas/AssertionAnalyticsRunEvent.avsc +3506 -0
  17. acryl_datahub_cloud/metadata/schemas/AssertionInfo.avsc +3 -2
  18. acryl_datahub_cloud/metadata/schemas/AssertionKey.avsc +2 -0
  19. acryl_datahub_cloud/metadata/schemas/AssertionRunEvent.avsc +4 -3
  20. acryl_datahub_cloud/metadata/schemas/AssertionSummary.avsc +50 -0
  21. acryl_datahub_cloud/metadata/schemas/AssertionsSummary.avsc +55 -8
  22. acryl_datahub_cloud/metadata/schemas/ConstraintInfo.avsc +4 -2
  23. acryl_datahub_cloud/metadata/schemas/ContainerKey.avsc +1 -0
  24. acryl_datahub_cloud/metadata/schemas/ContainerProperties.avsc +3 -1
  25. acryl_datahub_cloud/metadata/schemas/CorpUserInfo.avsc +1 -1
  26. acryl_datahub_cloud/metadata/schemas/DashboardInfo.avsc +29 -2
  27. acryl_datahub_cloud/metadata/schemas/DataFlowInfo.avsc +3 -1
  28. acryl_datahub_cloud/metadata/schemas/DataHubActionInfo.avsc +10 -1
  29. acryl_datahub_cloud/metadata/schemas/DataHubPolicyInfo.avsc +4 -2
  30. acryl_datahub_cloud/metadata/schemas/DataHubViewInfo.avsc +2 -0
  31. acryl_datahub_cloud/metadata/schemas/DataJobInfo.avsc +3 -1
  32. acryl_datahub_cloud/metadata/schemas/DataProcessKey.avsc +3 -1
  33. acryl_datahub_cloud/metadata/schemas/DatasetKey.avsc +5 -2
  34. acryl_datahub_cloud/metadata/schemas/DynamicFormAssignment.avsc +2 -0
  35. acryl_datahub_cloud/metadata/schemas/EntityInferenceMetadata.avsc +47 -0
  36. acryl_datahub_cloud/metadata/schemas/Filter.avsc +2 -0
  37. acryl_datahub_cloud/metadata/schemas/FormInfo.avsc +75 -0
  38. acryl_datahub_cloud/metadata/schemas/Forms.avsc +18 -9
  39. acryl_datahub_cloud/metadata/schemas/GlobalSettingsInfo.avsc +18 -0
  40. acryl_datahub_cloud/metadata/schemas/GlossaryRelatedTerms.avsc +4 -4
  41. acryl_datahub_cloud/metadata/schemas/IncidentActivityEvent.avsc +3 -1
  42. acryl_datahub_cloud/metadata/schemas/IncidentInfo.avsc +3 -1
  43. acryl_datahub_cloud/metadata/schemas/IncidentsSummary.avsc +4 -2
  44. acryl_datahub_cloud/metadata/schemas/InferredMetadata.avsc +4 -2
  45. acryl_datahub_cloud/metadata/schemas/MLFeatureKey.avsc +2 -1
  46. acryl_datahub_cloud/metadata/schemas/MLModelDeploymentKey.avsc +3 -1
  47. acryl_datahub_cloud/metadata/schemas/MLModelGroupKey.avsc +3 -1
  48. acryl_datahub_cloud/metadata/schemas/MLModelKey.avsc +5 -2
  49. acryl_datahub_cloud/metadata/schemas/MetadataChangeEvent.avsc +119 -11
  50. acryl_datahub_cloud/metadata/schemas/MonitorInfo.avsc +3 -2
  51. acryl_datahub_cloud/metadata/schemas/NotificationRequest.avsc +2 -1
  52. acryl_datahub_cloud/metadata/schemas/Operation.avsc +0 -3
  53. acryl_datahub_cloud/metadata/schemas/Ownership.avsc +2 -1
  54. acryl_datahub_cloud/metadata/schemas/PlatformResourceInfo.avsc +2 -2
  55. acryl_datahub_cloud/metadata/schemas/PlatformResourceKey.avsc +4 -3
  56. acryl_datahub_cloud/metadata/schemas/PostInfo.avsc +2 -1
  57. acryl_datahub_cloud/metadata/schemas/RecommendationModule.avsc +2 -0
  58. acryl_datahub_cloud/metadata/schemas/Share.avsc +2 -1
  59. acryl_datahub_cloud/metadata/schemas/StructuredPropertyDefinition.avsc +25 -1
  60. acryl_datahub_cloud/metadata/schemas/SubTypes.avsc +1 -1
  61. acryl_datahub_cloud/metadata/schemas/TestResults.avsc +8 -4
  62. {acryl_datahub_cloud-0.3.6.9rc1.dist-info → acryl_datahub_cloud-0.3.7rc1.dist-info}/METADATA +38 -38
  63. {acryl_datahub_cloud-0.3.6.9rc1.dist-info → acryl_datahub_cloud-0.3.7rc1.dist-info}/RECORD +66 -60
  64. {acryl_datahub_cloud-0.3.6.9rc1.dist-info → acryl_datahub_cloud-0.3.7rc1.dist-info}/WHEEL +1 -1
  65. {acryl_datahub_cloud-0.3.6.9rc1.dist-info → acryl_datahub_cloud-0.3.7rc1.dist-info}/entry_points.txt +0 -0
  66. {acryl_datahub_cloud-0.3.6.9rc1.dist-info → acryl_datahub_cloud-0.3.7rc1.dist-info}/top_level.txt +0 -0
@@ -60,10 +60,11 @@
60
60
  "FIELD",
61
61
  "DATA_SCHEMA",
62
62
  "CUSTOM"
63
- ]
63
+ ],
64
+ "doc": "Type of assertion. Assertion types can evolve to span Datasets, Flows (Pipelines), Models, Features etc."
64
65
  },
65
66
  "name": "type",
66
- "doc": "Type of assertion. Assertion types can evolve to span Datasets, Flows (Pipelines), Models, Features etc."
67
+ "doc": "Type of assertion."
67
68
  },
68
69
  {
69
70
  "type": [
@@ -12,6 +12,8 @@
12
12
  "status",
13
13
  "globalTags",
14
14
  "lineageFeatures",
15
+ "assertionSummary",
16
+ "assertionAnalyticsRunEvent",
15
17
  "assertionDryRunEvent",
16
18
  "assertionInferenceDetails"
17
19
  ],
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "type": "long",
16
16
  "name": "timestampMillis",
17
- "doc": "The event timestamp field as epoch at UTC in milli seconds."
17
+ "doc": "The event timestamp field as epoch at UTC in milliseconds."
18
18
  },
19
19
  {
20
20
  "type": "string",
@@ -151,10 +151,11 @@
151
151
  "FIELD",
152
152
  "DATA_SCHEMA",
153
153
  "CUSTOM"
154
- ]
154
+ ],
155
+ "doc": "Type of assertion. Assertion types can evolve to span Datasets, Flows (Pipelines), Models, Features etc."
155
156
  },
156
157
  "name": "type",
157
- "doc": "Type of assertion. Assertion types can evolve to span Datasets, Flows (Pipelines), Models, Features etc."
158
+ "doc": "Type of assertion."
158
159
  },
159
160
  {
160
161
  "type": [
@@ -0,0 +1,50 @@
1
+ {
2
+ "type": "record",
3
+ "Aspect": {
4
+ "name": "assertionSummary"
5
+ },
6
+ "name": "AssertionSummary",
7
+ "namespace": "com.linkedin.pegasus2avro.assertion",
8
+ "fields": [
9
+ {
10
+ "Searchable": {
11
+ "fieldName": "lastFailedAtMillis",
12
+ "fieldType": "DATETIME"
13
+ },
14
+ "type": [
15
+ "null",
16
+ "long"
17
+ ],
18
+ "name": "lastFailedAtMillis",
19
+ "default": null,
20
+ "doc": "The last failure event timestamp field as epoch at UTC in milliseconds."
21
+ },
22
+ {
23
+ "Searchable": {
24
+ "fieldName": "lastErroredAtMillis",
25
+ "fieldType": "DATETIME"
26
+ },
27
+ "type": [
28
+ "null",
29
+ "long"
30
+ ],
31
+ "name": "lastErroredAtMillis",
32
+ "default": null,
33
+ "doc": "The last error event timestamp field as epoch at UTC in milliseconds."
34
+ },
35
+ {
36
+ "Searchable": {
37
+ "fieldName": "lastPassedAtMillis",
38
+ "fieldType": "DATETIME"
39
+ },
40
+ "type": [
41
+ "null",
42
+ "long"
43
+ ],
44
+ "name": "lastPassedAtMillis",
45
+ "default": null,
46
+ "doc": "The last pass event timestamp field as epoch at UTC in milliseconds."
47
+ }
48
+ ],
49
+ "doc": "Derived.\nTracks the latest summary details of an assertion."
50
+ }
@@ -42,20 +42,24 @@
42
42
  "Searchable": {
43
43
  "/*/lastResultAt": {
44
44
  "fieldName": "passingAssertionResultTimes",
45
- "fieldType": "DATETIME"
45
+ "fieldType": "DATETIME",
46
+ "queryByDefault": false
46
47
  },
47
48
  "/*/source": {
48
- "fieldName": "passingAssertionSources"
49
+ "fieldName": "passingAssertionSources",
50
+ "queryByDefault": false
49
51
  },
50
52
  "/*/type": {
51
53
  "fieldName": "passingAssertionTypes",
52
- "fieldType": "KEYWORD"
54
+ "fieldType": "KEYWORD",
55
+ "queryByDefault": false
53
56
  },
54
57
  "/*/urn": {
55
58
  "fieldName": "passingAssertions",
56
59
  "fieldType": "URN",
57
60
  "hasValuesFieldName": "hasPassingAssertions",
58
- "numValuesFieldName": "numPassingAssertions"
61
+ "numValuesFieldName": "numPassingAssertions",
62
+ "queryByDefault": false
59
63
  }
60
64
  },
61
65
  "type": {
@@ -113,21 +117,25 @@
113
117
  "Searchable": {
114
118
  "/*/lastResultAt": {
115
119
  "fieldName": "failingAssertionResultTimes",
116
- "fieldType": "DATETIME"
120
+ "fieldType": "DATETIME",
121
+ "queryByDefault": false
117
122
  },
118
123
  "/*/source": {
119
- "fieldName": "failingAssertionSources"
124
+ "fieldName": "failingAssertionSources",
125
+ "queryByDefault": false
120
126
  },
121
127
  "/*/type": {
122
128
  "fieldName": "failingAssertionType",
123
- "fieldType": "KEYWORD"
129
+ "fieldType": "KEYWORD",
130
+ "queryByDefault": false
124
131
  },
125
132
  "/*/urn": {
126
133
  "addHasValuesToFilters": true,
127
134
  "fieldName": "failingAssertions",
128
135
  "fieldType": "URN",
129
136
  "hasValuesFieldName": "hasFailingAssertions",
130
- "numValuesFieldName": "numFailingAssertions"
137
+ "numValuesFieldName": "numFailingAssertions",
138
+ "queryByDefault": false
131
139
  }
132
140
  },
133
141
  "type": {
@@ -137,6 +145,45 @@
137
145
  "name": "failingAssertionDetails",
138
146
  "default": [],
139
147
  "doc": "Summary details about the set of failing assertions"
148
+ },
149
+ {
150
+ "Relationship": {
151
+ "/*/urn": {
152
+ "entityTypes": [
153
+ "assertion"
154
+ ],
155
+ "name": "ErroringAssertions"
156
+ }
157
+ },
158
+ "Searchable": {
159
+ "/*/lastResultAt": {
160
+ "fieldName": "erroringAssertionResultTimes",
161
+ "fieldType": "DATETIME"
162
+ },
163
+ "/*/source": {
164
+ "fieldName": "erroringAssertionSources",
165
+ "queryByDefault": false
166
+ },
167
+ "/*/type": {
168
+ "fieldName": "erroringAssertionType",
169
+ "fieldType": "KEYWORD"
170
+ },
171
+ "/*/urn": {
172
+ "addHasValuesToFilters": true,
173
+ "fieldName": "erroringAssertions",
174
+ "fieldType": "URN",
175
+ "hasValuesFieldName": "hasErroringAssertions",
176
+ "numValuesFieldName": "numErroringAssertions",
177
+ "queryByDefault": false
178
+ }
179
+ },
180
+ "type": {
181
+ "type": "array",
182
+ "items": "com.linkedin.pegasus2avro.common.AssertionSummaryDetails"
183
+ },
184
+ "name": "erroringAssertionDetails",
185
+ "default": [],
186
+ "doc": "Summary details about the set of erroring assertions"
140
187
  }
141
188
  ],
142
189
  "doc": "Summary related to entity assertions"
@@ -99,12 +99,14 @@
99
99
  "type": {
100
100
  "type": "enum",
101
101
  "symbolDocs": {
102
- "EQUALS": "Whether the field matches the value"
102
+ "EQUALS": "Whether the field matches the value",
103
+ "STARTS_WITH": "Whether the field value starts with the value"
103
104
  },
104
105
  "name": "PolicyMatchCondition",
105
106
  "namespace": "com.linkedin.pegasus2avro.policy",
106
107
  "symbols": [
107
- "EQUALS"
108
+ "EQUALS",
109
+ "STARTS_WITH"
108
110
  ],
109
111
  "doc": "The matching condition in a filter criterion"
110
112
  },
@@ -22,6 +22,7 @@
22
22
  "structuredProperties",
23
23
  "forms",
24
24
  "testResults",
25
+ "access",
25
26
  "share",
26
27
  "origin",
27
28
  "documentation"
@@ -98,6 +98,7 @@
98
98
  "PROD": "Designates production fabrics",
99
99
  "QA": "Designates quality assurance fabrics",
100
100
  "RVW": "Designates review fabrics",
101
+ "SANDBOX": "Designates sandbox fabrics",
101
102
  "STG": "Designates staging fabrics",
102
103
  "TEST": "Designates testing fabrics",
103
104
  "TST": "Alternative Test spelling",
@@ -118,7 +119,8 @@
118
119
  "CORP",
119
120
  "RVW",
120
121
  "PRD",
121
- "TST"
122
+ "TST",
123
+ "SANDBOX"
122
124
  ],
123
125
  "doc": "Fabric group type"
124
126
  }
@@ -89,7 +89,7 @@
89
89
  "Searchable": {
90
90
  "fieldName": "managerLdap",
91
91
  "fieldType": "URN",
92
- "queryByDefault": true
92
+ "queryByDefault": false
93
93
  },
94
94
  "java": {
95
95
  "class": "com.linkedin.pegasus2avro.common.urn.CorpuserUrn"
@@ -255,6 +255,29 @@
255
255
  "default": null,
256
256
  "doc": "Datasets consumed by a dashboard"
257
257
  },
258
+ {
259
+ "Relationship": {
260
+ "/*/destinationUrn": {
261
+ "createdActor": "datasetEdges/*/created/actor",
262
+ "createdOn": "datasetEdges/*/created/time",
263
+ "entityTypes": [
264
+ "dashboard"
265
+ ],
266
+ "isLineage": true,
267
+ "name": "DashboardContainsDashboard",
268
+ "properties": "datasetEdges/*/properties",
269
+ "updatedActor": "datasetEdges/*/lastModified/actor",
270
+ "updatedOn": "datasetEdges/*/lastModified/time"
271
+ }
272
+ },
273
+ "type": {
274
+ "type": "array",
275
+ "items": "com.linkedin.pegasus2avro.common.Edge"
276
+ },
277
+ "name": "dashboards",
278
+ "default": [],
279
+ "doc": "Dashboards included by this dashboard.\nSome dashboard entities (e.g. PowerBI Apps) can contain other dashboards.\n\nThe Edge's sourceUrn should never be set, as it will always be the base dashboard."
280
+ },
258
281
  {
259
282
  "Searchable": {
260
283
  "/lastModified/time": {
@@ -348,7 +371,9 @@
348
371
  "doc": "Access level for the dashboard"
349
372
  },
350
373
  {
351
- "Searchable": {},
374
+ "Searchable": {
375
+ "queryByDefault": false
376
+ },
352
377
  "type": [
353
378
  "null",
354
379
  "long"
@@ -358,7 +383,9 @@
358
383
  "doc": "The time when this dashboard last refreshed"
359
384
  },
360
385
  {
361
- "Searchable": {},
386
+ "Searchable": {
387
+ "queryByDefault": false
388
+ },
362
389
  "java": {
363
390
  "class": "com.linkedin.pegasus2avro.common.urn.Urn"
364
391
  },
@@ -152,6 +152,7 @@
152
152
  "PROD": "Designates production fabrics",
153
153
  "QA": "Designates quality assurance fabrics",
154
154
  "RVW": "Designates review fabrics",
155
+ "SANDBOX": "Designates sandbox fabrics",
155
156
  "STG": "Designates staging fabrics",
156
157
  "TEST": "Designates testing fabrics",
157
158
  "TST": "Alternative Test spelling",
@@ -172,7 +173,8 @@
172
173
  "CORP",
173
174
  "RVW",
174
175
  "PRD",
175
- "TST"
176
+ "TST",
177
+ "SANDBOX"
176
178
  ],
177
179
  "doc": "Fabric group type"
178
180
  }
@@ -46,7 +46,16 @@
46
46
  {
47
47
  "type": "string",
48
48
  "name": "recipe",
49
- "doc": "The JSON recipe to use for ingestion"
49
+ "doc": "The JSON recipe to use for the automation"
50
+ },
51
+ {
52
+ "type": [
53
+ "null",
54
+ "string"
55
+ ],
56
+ "name": "executorId",
57
+ "default": null,
58
+ "doc": "The id of the executor to use to execute the automation. Defaults to 'default' (runs locally)"
50
59
  }
51
60
  ]
52
61
  },
@@ -109,12 +109,14 @@
109
109
  "type": {
110
110
  "type": "enum",
111
111
  "symbolDocs": {
112
- "EQUALS": "Whether the field matches the value"
112
+ "EQUALS": "Whether the field matches the value",
113
+ "STARTS_WITH": "Whether the field value starts with the value"
113
114
  },
114
115
  "name": "PolicyMatchCondition",
115
116
  "namespace": "com.linkedin.pegasus2avro.policy",
116
117
  "symbols": [
117
- "EQUALS"
118
+ "EQUALS",
119
+ "STARTS_WITH"
118
120
  ],
119
121
  "doc": "The matching condition in a filter criterion"
120
122
  },
@@ -110,6 +110,7 @@
110
110
  "EXISTS": "Represents the relation: field exists and is non-empty, e.g. owners is not null and != [] (empty)",
111
111
  "GREATER_THAN": "Represent the relation greater than, e.g. ownerCount > 5",
112
112
  "GREATER_THAN_OR_EQUAL_TO": "Represent the relation greater than or equal to, e.g. ownerCount >= 5",
113
+ "IEQUAL": "Represent the relation: field = value and support case insensitive values, e.g. platform = hdfs",
113
114
  "IN": "Represent the relation: String field is one of the array values to, e.g. name in [\"Profile\", \"Event\"]",
114
115
  "IS_NULL": "Represent the relation: field is null, e.g. platform is null",
115
116
  "LESS_THAN": "Represent the relation less than, e.g. ownerCount < 3",
@@ -123,6 +124,7 @@
123
124
  "CONTAIN",
124
125
  "END_WITH",
125
126
  "EQUAL",
127
+ "IEQUAL",
126
128
  "IS_NULL",
127
129
  "EXISTS",
128
130
  "GREATER_THAN",
@@ -218,6 +218,7 @@
218
218
  "PROD": "Designates production fabrics",
219
219
  "QA": "Designates quality assurance fabrics",
220
220
  "RVW": "Designates review fabrics",
221
+ "SANDBOX": "Designates sandbox fabrics",
221
222
  "STG": "Designates staging fabrics",
222
223
  "TEST": "Designates testing fabrics",
223
224
  "TST": "Alternative Test spelling",
@@ -238,7 +239,8 @@
238
239
  "CORP",
239
240
  "RVW",
240
241
  "PRD",
241
- "TST"
242
+ "TST",
243
+ "SANDBOX"
242
244
  ],
243
245
  "doc": "Fabric group type"
244
246
  }
@@ -50,6 +50,7 @@
50
50
  "PROD": "Designates production fabrics",
51
51
  "QA": "Designates quality assurance fabrics",
52
52
  "RVW": "Designates review fabrics",
53
+ "SANDBOX": "Designates sandbox fabrics",
53
54
  "STG": "Designates staging fabrics",
54
55
  "TEST": "Designates testing fabrics",
55
56
  "TST": "Alternative Test spelling",
@@ -70,7 +71,8 @@
70
71
  "CORP",
71
72
  "RVW",
72
73
  "PRD",
73
- "TST"
74
+ "TST",
75
+ "SANDBOX"
74
76
  ],
75
77
  "doc": "Fabric group type"
76
78
  },
@@ -49,7 +49,8 @@
49
49
  "partitionsSummary",
50
50
  "share",
51
51
  "origin",
52
- "documentation"
52
+ "documentation",
53
+ "entityInferenceMetadata"
53
54
  ],
54
55
  "entityDoc": "Datasets represent logical or physical data assets stored or represented in various data platforms. Tables, Views, Streams are all instances of datasets."
55
56
  },
@@ -99,6 +100,7 @@
99
100
  "PROD": "Designates production fabrics",
100
101
  "QA": "Designates quality assurance fabrics",
101
102
  "RVW": "Designates review fabrics",
103
+ "SANDBOX": "Designates sandbox fabrics",
102
104
  "STG": "Designates staging fabrics",
103
105
  "TEST": "Designates testing fabrics",
104
106
  "TST": "Alternative Test spelling",
@@ -119,7 +121,8 @@
119
121
  "CORP",
120
122
  "RVW",
121
123
  "PRD",
122
- "TST"
124
+ "TST",
125
+ "SANDBOX"
123
126
  ],
124
127
  "doc": "Fabric group type"
125
128
  },
@@ -61,6 +61,7 @@
61
61
  "EXISTS": "Represents the relation: field exists and is non-empty, e.g. owners is not null and != [] (empty)",
62
62
  "GREATER_THAN": "Represent the relation greater than, e.g. ownerCount > 5",
63
63
  "GREATER_THAN_OR_EQUAL_TO": "Represent the relation greater than or equal to, e.g. ownerCount >= 5",
64
+ "IEQUAL": "Represent the relation: field = value and support case insensitive values, e.g. platform = hdfs",
64
65
  "IN": "Represent the relation: String field is one of the array values to, e.g. name in [\"Profile\", \"Event\"]",
65
66
  "IS_NULL": "Represent the relation: field is null, e.g. platform is null",
66
67
  "LESS_THAN": "Represent the relation less than, e.g. ownerCount < 3",
@@ -74,6 +75,7 @@
74
75
  "CONTAIN",
75
76
  "END_WITH",
76
77
  "EQUAL",
78
+ "IEQUAL",
77
79
  "IS_NULL",
78
80
  "EXISTS",
79
81
  "GREATER_THAN",
@@ -0,0 +1,47 @@
1
+ {
2
+ "type": "record",
3
+ "Aspect": {
4
+ "name": "entityInferenceMetadata"
5
+ },
6
+ "name": "EntityInferenceMetadata",
7
+ "namespace": "com.linkedin.pegasus2avro.ai",
8
+ "fields": [
9
+ {
10
+ "Searchable": {
11
+ "/lastInferredAt": {
12
+ "fieldName": "glossaryTermsLastInferredAt",
13
+ "queryByDefault": false
14
+ },
15
+ "/version": {
16
+ "fieldName": "glossaryTermsVersion",
17
+ "queryByDefault": false
18
+ }
19
+ },
20
+ "type": [
21
+ "null",
22
+ {
23
+ "type": "record",
24
+ "name": "InferenceGroupMetadata",
25
+ "namespace": "com.linkedin.pegasus2avro.ai",
26
+ "fields": [
27
+ {
28
+ "type": "long",
29
+ "name": "lastInferredAt",
30
+ "doc": "Timestamp of the last inference in milliseconds."
31
+ },
32
+ {
33
+ "type": "int",
34
+ "name": "version",
35
+ "doc": "Monotonically incrementing version number. Once bumped, will re-trigger a new inference."
36
+ }
37
+ ],
38
+ "doc": "Reusable metadata about a group of inferences of the same type."
39
+ }
40
+ ],
41
+ "name": "glossaryTermsInference",
42
+ "default": null,
43
+ "doc": "Information about a group of inferences made for Glossary Terms."
44
+ }
45
+ ],
46
+ "doc": "AI Inference Metadata for a specific entity."
47
+ }
@@ -52,6 +52,7 @@
52
52
  "EXISTS": "Represents the relation: field exists and is non-empty, e.g. owners is not null and != [] (empty)",
53
53
  "GREATER_THAN": "Represent the relation greater than, e.g. ownerCount > 5",
54
54
  "GREATER_THAN_OR_EQUAL_TO": "Represent the relation greater than or equal to, e.g. ownerCount >= 5",
55
+ "IEQUAL": "Represent the relation: field = value and support case insensitive values, e.g. platform = hdfs",
55
56
  "IN": "Represent the relation: String field is one of the array values to, e.g. name in [\"Profile\", \"Event\"]",
56
57
  "IS_NULL": "Represent the relation: field is null, e.g. platform is null",
57
58
  "LESS_THAN": "Represent the relation less than, e.g. ownerCount < 3",
@@ -65,6 +66,7 @@
65
66
  "CONTAIN",
66
67
  "END_WITH",
67
68
  "EQUAL",
69
+ "IEQUAL",
68
70
  "IS_NULL",
69
71
  "EXISTS",
70
72
  "GREATER_THAN",
@@ -109,6 +109,10 @@
109
109
  "namespace": "com.linkedin.pegasus2avro.form",
110
110
  "fields": [
111
111
  {
112
+ "Searchable": {
113
+ "fieldName": "structuredPropertyPromptUrns",
114
+ "fieldType": "URN"
115
+ },
112
116
  "java": {
113
117
  "class": "com.linkedin.pegasus2avro.common.urn.Urn"
114
118
  },
@@ -152,6 +156,15 @@
152
156
  "doc": "Whether one or multiple owners are accepted as a response."
153
157
  },
154
158
  {
159
+ "Relationship": {
160
+ "/*": {
161
+ "entityTypes": [
162
+ "corpuser",
163
+ "corpGroup"
164
+ ],
165
+ "name": "allowedOwnerOn"
166
+ }
167
+ },
155
168
  "type": [
156
169
  "null",
157
170
  {
@@ -166,6 +179,14 @@
166
179
  "urn_is_array": true
167
180
  },
168
181
  {
182
+ "Relationship": {
183
+ "/*": {
184
+ "entityTypes": [
185
+ "ownershipType"
186
+ ],
187
+ "name": "allowedOwnershipTypeOn"
188
+ }
189
+ },
169
190
  "type": [
170
191
  "null",
171
192
  {
@@ -202,6 +223,14 @@
202
223
  "doc": "Whether one or multiple terms are accepted as a response."
203
224
  },
204
225
  {
226
+ "Relationship": {
227
+ "/*": {
228
+ "entityTypes": [
229
+ "glossaryTerm"
230
+ ],
231
+ "name": "allowedTermOn"
232
+ }
233
+ },
205
234
  "type": [
206
235
  "null",
207
236
  {
@@ -216,6 +245,14 @@
216
245
  "urn_is_array": true
217
246
  },
218
247
  {
248
+ "Relationship": {
249
+ "/*": {
250
+ "entityTypes": [
251
+ "glossaryNode"
252
+ ],
253
+ "name": "allowedTermGroupOn"
254
+ }
255
+ },
219
256
  "type": [
220
257
  "null",
221
258
  {
@@ -246,6 +283,14 @@
246
283
  "namespace": "com.linkedin.pegasus2avro.form",
247
284
  "fields": [
248
285
  {
286
+ "Relationship": {
287
+ "/*": {
288
+ "entityTypes": [
289
+ "domain"
290
+ ],
291
+ "name": "allowedDomainOn"
292
+ }
293
+ },
249
294
  "type": [
250
295
  "null",
251
296
  {
@@ -436,6 +481,36 @@
436
481
  "lastModified": null
437
482
  },
438
483
  "doc": "Information about the state and status of this form"
484
+ },
485
+ {
486
+ "Searchable": {
487
+ "/time": {
488
+ "fieldName": "createdTime",
489
+ "fieldType": "DATETIME"
490
+ }
491
+ },
492
+ "type": [
493
+ "null",
494
+ "com.linkedin.pegasus2avro.common.AuditStamp"
495
+ ],
496
+ "name": "created",
497
+ "default": null,
498
+ "doc": "Created Audit stamp"
499
+ },
500
+ {
501
+ "Searchable": {
502
+ "/time": {
503
+ "fieldName": "lastModified",
504
+ "fieldType": "DATETIME"
505
+ }
506
+ },
507
+ "type": [
508
+ "null",
509
+ "com.linkedin.pegasus2avro.common.AuditStamp"
510
+ ],
511
+ "name": "lastModified",
512
+ "default": null,
513
+ "doc": "Last Modified Audit stamp"
439
514
  }
440
515
  ],
441
516
  "doc": "Information about a form to help with filling out metadata on entities."