sqlflow_public/demos/top-level-select-list/sqlflow-ui-generated.json

832 lines
30 KiB
JSON

{
"code": 200,
"data": {
"mode": "global",
"summary": {
"schema": 0,
"process": 0,
"database": 0,
"view": 0,
"mostRelationTables": [
{
"table": "SOURCE"
},
{
"table": "EMPLOYEES"
},
{
"table": "DEPARTMENT"
}
],
"column": 8,
"relationship": 4,
"table": 4
},
"sqlflow": {
"dbvendor": "dbvoracle",
"dbobjs": [
{
"id": "4",
"name": "EMPLOYEES",
"alias": "E",
"type": "table",
"columns": [
{
"id": "5",
"name": "DEPARTMENT_ID",
"coordinates": [
{
"x": 6,
"y": 7,
"hashCode": "0"
},
{
"x": 6,
"y": 22,
"hashCode": "0"
}
]
},
{
"id": "6",
"name": "LAST_NAME",
"coordinates": [
{
"x": 3,
"y": 9,
"hashCode": "0"
},
{
"x": 3,
"y": 20,
"hashCode": "0"
}
]
}
],
"coordinates": [
{
"x": 4,
"y": 7,
"hashCode": "0"
},
{
"x": 4,
"y": 18,
"hashCode": "0"
}
]
},
{
"id": "8",
"name": "DEPARTMENT",
"alias": "D",
"type": "table",
"columns": [
{
"id": "9",
"name": "DEPARTMENT_ID",
"coordinates": [
{
"x": 6,
"y": 25,
"hashCode": "0"
},
{
"x": 6,
"y": 40,
"hashCode": "0"
}
]
},
{
"id": "10",
"name": "DEPARTMENT_NAME",
"coordinates": [
{
"x": 3,
"y": 39,
"hashCode": "0"
},
{
"x": 3,
"y": 56,
"hashCode": "0"
}
]
}
],
"coordinates": [
{
"x": 5,
"y": 18,
"hashCode": "0"
},
{
"x": 5,
"y": 30,
"hashCode": "0"
}
]
},
{
"id": "17",
"name": "SOURCE",
"alias": "S",
"type": "table",
"columns": [
{
"id": "18",
"name": "LOCATION_ID",
"coordinates": [
{
"x": 12,
"y": 5,
"hashCode": "0"
},
{
"x": 12,
"y": 18,
"hashCode": "0"
}
]
},
{
"id": "19",
"name": "REMOTE",
"coordinates": [
{
"x": 9,
"y": 9,
"hashCode": "0"
},
{
"x": 9,
"y": 17,
"hashCode": "0"
}
]
},
{
"id": "20",
"name": "DEPARTMENT_ID",
"coordinates": [
{
"x": 9,
"y": 18,
"hashCode": "0"
},
{
"x": 9,
"y": 33,
"hashCode": "0"
}
]
}
],
"coordinates": [
{
"x": 10,
"y": 7,
"hashCode": "0"
},
{
"x": 10,
"y": 15,
"hashCode": "0"
}
]
},
{
"id": "22",
"name": "LOCATION",
"alias": "L",
"type": "table",
"columns": [
{
"id": "23",
"name": "ID",
"coordinates": [
{
"x": 12,
"y": 21,
"hashCode": "0"
},
{
"x": 12,
"y": 25,
"hashCode": "0"
}
]
}
],
"coordinates": [
{
"x": 11,
"y": 13,
"hashCode": "0"
},
{
"x": 11,
"y": 23,
"hashCode": "0"
}
]
},
{
"id": "27",
"name": "RS-1",
"type": "select_list",
"columns": [
{
"id": "29",
"name": "REMOTE",
"coordinates": [
{
"x": 1,
"y": 16,
"hashCode": "0"
},
{
"x": 1,
"y": 31,
"hashCode": "0"
}
]
},
{
"id": "26",
"name": "RELATIONROWS",
"coordinates": [
{
"x": 1,
"y": 8,
"hashCode": "0"
},
{
"x": 1,
"y": 31,
"hashCode": "0"
}
],
"source": "SYSTEM"
},
{
"id": "28_0",
"name": "LAST_NAME",
"coordinates": [
{
"x": 1,
"y": 8,
"hashCode": "0"
},
{
"x": 1,
"y": 14,
"hashCode": "0"
}
]
},
{
"id": "28_1",
"name": "DEPARTMENT_ID",
"coordinates": [
{
"x": 1,
"y": 8,
"hashCode": "0"
},
{
"x": 1,
"y": 14,
"hashCode": "0"
}
]
},
{
"id": "28_2",
"name": "DEPARTMENT_NAME",
"coordinates": [
{
"x": 1,
"y": 8,
"hashCode": "0"
},
{
"x": 1,
"y": 14,
"hashCode": "0"
}
]
}
],
"coordinates": [
{
"x": 1,
"y": 8,
"hashCode": "0"
},
{
"x": 1,
"y": 31,
"hashCode": "0"
}
]
}
],
"relationships": [
{
"id": "501",
"type": "fdd",
"effectType": "select",
"target": {
"id": "28_2",
"column": "DEPARTMENT_NAME",
"parentId": "27",
"parentName": "RS-1",
"coordinates": [
{
"x": 1,
"y": 8,
"hashCode": "0"
},
{
"x": 1,
"y": 14,
"hashCode": "0"
}
]
},
"sources": [
{
"id": "10",
"column": "DEPARTMENT_NAME",
"parentId": "8",
"parentName": "DEPARTMENT",
"coordinates": [
{
"x": 3,
"y": 39,
"hashCode": "0"
},
{
"x": 3,
"y": 56,
"hashCode": "0"
}
]
}
]
},
{
"id": "502",
"type": "fdd",
"effectType": "select",
"target": {
"id": "29",
"column": "REMOTE",
"parentId": "27",
"parentName": "RS-1",
"coordinates": [
{
"x": 1,
"y": 16,
"hashCode": "0"
},
{
"x": 1,
"y": 31,
"hashCode": "0"
}
]
},
"sources": [
{
"id": "19",
"column": "REMOTE",
"parentId": "17",
"parentName": "SOURCE",
"coordinates": [
{
"x": 9,
"y": 9,
"hashCode": "0"
},
{
"x": 9,
"y": 17,
"hashCode": "0"
}
]
}
]
},
{
"id": "503",
"type": "fdd",
"effectType": "select",
"target": {
"id": "28_1",
"column": "DEPARTMENT_ID",
"parentId": "27",
"parentName": "RS-1",
"coordinates": [
{
"x": 1,
"y": 8,
"hashCode": "0"
},
{
"x": 1,
"y": 14,
"hashCode": "0"
}
]
},
"sources": [
{
"id": "5",
"column": "DEPARTMENT_ID",
"parentId": "4",
"parentName": "EMPLOYEES",
"coordinates": [
{
"x": 6,
"y": 7,
"hashCode": "0"
},
{
"x": 6,
"y": 22,
"hashCode": "0"
}
]
}
]
},
{
"id": "504",
"type": "fdd",
"effectType": "select",
"target": {
"id": "28_0",
"column": "LAST_NAME",
"parentId": "27",
"parentName": "RS-1",
"coordinates": [
{
"x": 1,
"y": 8,
"hashCode": "0"
},
{
"x": 1,
"y": 14,
"hashCode": "0"
}
]
},
"sources": [
{
"id": "6",
"column": "LAST_NAME",
"parentId": "4",
"parentName": "EMPLOYEES",
"coordinates": [
{
"x": 3,
"y": 9,
"hashCode": "0"
},
{
"x": 3,
"y": 20,
"hashCode": "0"
}
]
}
]
},
{
"id": "505",
"type": "fdd",
"effectType": "join",
"target": {
"id": "29",
"column": "REMOTE",
"parentId": "27",
"parentName": "RS-1",
"coordinates": [
{
"x": 1,
"y": 16,
"hashCode": "0"
},
{
"x": 1,
"y": 31,
"hashCode": "0"
}
]
},
"sources": [
{
"id": "19",
"column": "REMOTE",
"parentId": "17",
"parentName": "SOURCE",
"coordinates": [
{
"x": 9,
"y": 9,
"hashCode": "0"
},
{
"x": 9,
"y": 17,
"hashCode": "0"
}
]
}
]
}
]
},
"graph": {
"relationshipIdMap": {
"e0": "fdd",
"e1": "fdd",
"e2": "fdd",
"e3": "fdd"
},
"elements": {
"tables": [
{
"columns": [
{
"height": 16,
"id": "n0::n0",
"label": {
"content": "department_id",
"fontFamily": "Segoe UI Symbol",
"fontSize": "12",
"height": 13.96875,
"width": 107,
"x": 0,
"y": 0
},
"width": 160,
"x": 1,
"y": -46.00015
},
{
"height": 16,
"id": "n0::n1",
"label": {
"content": "last_name",
"fontFamily": "Segoe UI Symbol",
"fontSize": "12",
"height": 13.96875,
"width": 80,
"x": 0,
"y": 0
},
"width": 160,
"x": 1,
"y": -30.000149
}
],
"height": 57.96875,
"id": "n0",
"label": {
"content": "employees",
"fontFamily": "Segoe UI Symbol",
"fontSize": "12",
"height": 17.96875,
"width": 162,
"x": 0,
"y": 0
},
"width": 162,
"x": 0,
"y": -67.9689
},
{
"columns": [
{
"height": 16,
"id": "n1::n0",
"label": {
"content": "remote",
"fontFamily": "Segoe UI Symbol",
"fontSize": "12",
"height": 13.96875,
"width": 61,
"x": 0,
"y": 0
},
"width": 160,
"x": 233,
"y": -130.72316
},
{
"height": 16,
"id": "n1::n1",
"label": {
"content": "LAST_NAME",
"fontFamily": "Segoe UI Symbol",
"fontSize": "12",
"height": 13.96875,
"width": 86,
"x": 0,
"y": 0
},
"width": 160,
"x": 233,
"y": -114.72317
},
{
"height": 16,
"id": "n1::n2",
"label": {
"content": "DEPARTMENT_ID",
"fontFamily": "Segoe UI Symbol",
"fontSize": "12",
"height": 13.96875,
"width": 116,
"x": 0,
"y": 0
},
"width": 160,
"x": 233,
"y": -98.72317
},
{
"height": 16,
"id": "n1::n3",
"label": {
"content": "DEPARTMENT_NAME",
"fontFamily": "Segoe UI Symbol",
"fontSize": "12",
"height": 13.96875,
"width": 139,
"x": 0,
"y": 0
},
"width": 160,
"x": 233,
"y": -82.72317
}
],
"height": 89.96875,
"id": "n1",
"label": {
"content": "RS-1",
"fontFamily": "Segoe UI Symbol",
"fontSize": "12",
"height": 17.96875,
"width": 162,
"x": 0,
"y": 0
},
"width": 162,
"x": 232,
"y": -152.69191
},
{
"columns": [
{
"height": 16,
"id": "n2::n0",
"label": {
"content": "remote",
"fontFamily": "Segoe UI Symbol",
"fontSize": "12",
"height": 13.96875,
"width": 61,
"x": 0,
"y": 0
},
"width": 160,
"x": 1,
"y": -117.9692
}
],
"height": 41.96875,
"id": "n2",
"label": {
"content": "source",
"fontFamily": "Segoe UI Symbol",
"fontSize": "12",
"height": 17.96875,
"width": 162,
"x": 0,
"y": 0
},
"width": 162,
"x": 0,
"y": -139.93794
},
{
"columns": [
{
"height": 16,
"id": "n3::n0",
"label": {
"content": "department_name",
"fontFamily": "Segoe UI Symbol",
"fontSize": "12",
"height": 13.96875,
"width": 131,
"x": 0,
"y": 0
},
"width": 160,
"x": 1,
"y": -189.93825
}
],
"height": 41.96875,
"id": "n3",
"label": {
"content": "department",
"fontFamily": "Segoe UI Symbol",
"fontSize": "12",
"height": 17.96875,
"width": 162,
"x": 0,
"y": 0
},
"width": 162,
"x": 0,
"y": -211.907
}
],
"edges": [
{
"id": "e0",
"sourceId": "n2::n0",
"targetId": "n1::n0"
},
{
"id": "e1",
"sourceId": "n3::n0",
"targetId": "n1::n3"
},
{
"id": "e2",
"sourceId": "n0::n1",
"targetId": "n1::n1"
},
{
"id": "e3",
"sourceId": "n0::n0",
"targetId": "n1::n2"
}
]
},
"tooltip": {
},
"listIdMap": {
"n0": [
"4"
],
"n0::n0": [
"5"
],
"n0::n1": [
"6"
],
"n1": [
"27"
],
"n1::n0": [
"29"
],
"n1::n1": [
"28_0"
],
"n1::n2": [
"28_1"
],
"n1::n3": [
"28_2"
],
"n2": [
"17"
],
"n2::n0": [
"19"
],
"n3": [
"8"
],
"n3::n0": [
"10"
]
}
}
},
"sessionId": "2d6b60f7774269d22aa54fd50ddbb1e7a7ce645eaf95e0469dd82c10cc91f64c_1653098524225"
}