-
Notifications
You must be signed in to change notification settings - Fork 3k
/
Dataset.pdl
88 lines (71 loc) · 1.87 KB
/
Dataset.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
82
83
84
85
86
87
88
namespace com.linkedin.dataset
import com.linkedin.common.ChangeAuditStamps
import com.linkedin.common.DatasetUrn
import com.linkedin.common.Uri
import com.linkedin.common.VersionTag
/**
* Dataset spec for a data store. A collection of data conforming to a single schema that can evolve over time. This is equivalent to a Table in most data platforms. Espresso dataset: Identity.Profile; oracle dataset: member2.member_profile; hdfs dataset: /data/databases/JOBS/JOB_APPLICATIONS; kafka: PageViewEvent
*/
record Dataset includes DatasetKey, ChangeAuditStamps, VersionTag {
/**
* Dataset unique identifier. System assigned value when a new dataset is created.
*/
id: long = 0
/**
* Dataset urn
*/
urn: DatasetUrn
/**
* Description for dataset
*/
description: string = ""
/**
* The native format for the data platform
*/
platformNativeType: optional enum PlatformNativeType {
/**
* Table
*/
TABLE
/**
* View
*/
VIEW
/**
* Directory in file system
*/
DIRECTORY
/**
* Stream
*/
STREAM
/**
* Bucket in key value store
*/
BUCKET
}
/**
* The abstracted 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).
*/
uri: optional Uri
/**
* List of dataset instances for this dataset
*/
deploymentInfos: array[DeploymentInfo] = [ ]
/**
* tags for searching dataset
*/
tags: array[string] = [ ]
/**
* A key-value map of platform-specific properties
*/
properties: optional map[string, string]
/**
* whether the dataset is removed or not
*/
removed: boolean = false
/**
* The dataset deprecation status
*/
deprecation: optional DatasetDeprecation
}