-
Notifications
You must be signed in to change notification settings - Fork 3k
/
Copy pathDatasetProperties.pdl
81 lines (72 loc) · 2.01 KB
/
DatasetProperties.pdl
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
namespace com.linkedin.dataset
import com.linkedin.common.Uri
import com.linkedin.common.CustomProperties
import com.linkedin.common.ExternalReference
import com.linkedin.common.TimeStamp
/**
* Properties associated with a Dataset
*/
@Aspect = {
"name": "datasetProperties"
}
record DatasetProperties includes CustomProperties, ExternalReference {
/**
* Display name of the Dataset
*/
@Searchable = {
"fieldType": "WORD_GRAM",
"enableAutocomplete": true,
"boostScore": 10.0,
"fieldNameAliases": [ "_entityName" ]
}
name: optional string
/**
* Fully-qualified name of the Dataset
*/
@Searchable = {
"fieldType": "WORD_GRAM",
"addToFilters": false,
"enableAutocomplete": true,
"boostScore": 10.0
}
qualifiedName: optional string
/**
* Documentation of the dataset
*/
@Searchable = {
"fieldType": "TEXT",
"hasValuesFieldName": "hasDescription"
}
description: optional string
/**
* The abstracted URI such as hdfs:///data/tracking/PageViewEvent, file:///dir/file_name. Uri should not include any environment specific properties. Some datasets might not have a standardized uri, which makes this field optional (i.e. kafka topic).
*/
@deprecated = "Use ExternalReference.externalUrl field instead."
uri: optional Uri
/**
* A timestamp documenting when the asset was created in the source Data Platform (not on DataHub)
*/
@Searchable = {
"/time": {
"fieldName": "createdAt",
"fieldType": "DATETIME"
}
}
created: optional TimeStamp
/**
* A timestamp documenting when the asset was last modified in the source Data Platform (not on DataHub)
*/
@Searchable = {
"/time": {
"fieldName": "lastModifiedAt",
"fieldType": "DATETIME"
}
}
lastModified: optional TimeStamp
/**
* [Legacy] Unstructured tags for the dataset. Structured tags can be applied via the `GlobalTags` aspect.
* This is now deprecated.
*/
@deprecated = "Use GlobalTags aspect instead."
tags: array[string] = [ ]
}