Create a dataset
This endpoint has been deprecated and may be removed in future versions of the API.
Creates a new dataset.
Path Parameters
Possible values: <= 1024 characters
The name of the namespace.
Possible values: <= 1024 characters
The name of the dataset.
Request Body
- Array [
- ]
- Array [
- ]
Possible values: [DB_TABLE
]
The type of the dataset.
The physical name of the table.
The name of the source associated with the table.
fields object[] required
The fields of the table.
The name of the field.
The data type of the field.
List of tags.
The description of the field.
List of tags.
The description of the table.
The ID associated with the run modifying the table.
Possible values: [STREAM
]
The type of the dataset.
The physical name of the stream.
The name of the source associated with the stream.
The URL of the schema for the stream data.
fields object[] required
The schema fields for the stream data.
The name of the field.
The type of the field.
List of tags.
The description of the field.
List of tags.
The description of the stream.
The ID associated with the run modifying the stream.
- 200
OK
Schema
- Array [
- ]
id object
The ID of the dataset.
The namespace of the dataset.
The name of the dataset.
The type of the dataset.
The logical name of the dataset.
The physical name of the dataset.
An ISO-8601 timestamp representing the date/time the dataset was created.
An ISO-8601 timestamp representing the date/time the dataset was updated.
The namespace of the dataset.
The name of the source associated with the dataset.
fields object[]
The fields of the dataset.
The name of the field.
The data type of the field.
List of tags.
The description of the field.
List of tags.
An ISO-8601 timestamp representing the date/time the dataset was last modified by a successful run.
The last lifecycle state of the dataset.
The description of the dataset.
facets object
The facets of the dataset. For a full list of standard dataset facets, see OpenLineage.
The current version of the dataset.
The deleted state of the dataset.
{
"id": {
"namespace": "my-namespace",
"name": "my-dataset"
},
"type": "DB_TABLE",
"name": "my-dataset",
"physicalName": "public.mytable",
"createdAt": "2019-05-09T19:49:24.201361Z",
"updatedAt": "2019-05-09T19:49:24.201361Z",
"namespace": "my-namespace",
"sourceName": "my-source",
"fields": [
{
"name'": "a",
"type": "INTEGER",
"tags": []
},
{
"name'": "b",
"type": "TIMESTAMP",
"tags": []
},
{
"name'": "c",
"type": "INTEGER",
"tags": []
},
{
"name'": "d",
"type": "INTEGER",
"tags": []
}
],
"tags": [],
"lastModifiedAt": null,
"description": "My first dataset!",
"facets": {},
"currentVersion": "b1d626a2-6d3a-475e-9ecf-943176d4a8c6"
}