You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DatasetData implementation of NodeData has its own type field- either DB_TABLE or a STREAM. However, the NodeData interface is annotated to include @JsonTypeInfo using the type field. This results in the DatasetData rendering with two type fields.
Example response below
{
"graph": [
{
"id": "dataset:food_delivery:public.categories",
"type": "DATASET",
"data": {
"type": "DATASET",
"id": {
"namespace": "food_delivery",
"name": "public.categories"
},
"type": "DB_TABLE",
"name": "public.categories",
"physicalName": "public.categories",
"createdAt": "2021-03-09T02:33:18.468719Z",
"updatedAt": "2021-07-15T05:06:46.064956Z",
"namespace": "food_delivery",
"sourceName": "analytics_db",
"fields": [
{
"name": "id",
"type": "INTEGER",
"tags": [],
"description": "The unique ID of the category."
},
{
"name": "name",
"type": "VARCHAR",
"tags": [],
"description": "The name of the category."
},
{
"name": "menu_id",
"type": "INTEGER",
"tags": [],
"description": "The ID of the menu related to the category."
},
{
"name": "description",
"type": "TEXT",
"tags": [],
"description": "The description of the category."
}
],
"tags": [],
"lastModifiedAt": "2021-07-15T05:02:15.064956Z",
"description": null
},
"inEdges": [
{
"origin": "job:food_delivery:example.etl_categories",
"destination": "dataset:food_delivery:public.categories"
}
],
"outEdges": [
{
"origin": "dataset:food_delivery:public.categories",
"destination": "job:food_delivery:example.etl_orders_7_days"
}
]
}
]
The text was updated successfully, but these errors were encountered:
The DatasetData implementation of
NodeData
has its owntype
field- either DB_TABLE or a STREAM. However, theNodeData
interface is annotated to include@JsonTypeInfo
using thetype
field. This results in the DatasetData rendering with twotype
fields.Example response below
The text was updated successfully, but these errors were encountered: