aaawuanjun opened a new issue, #2541: URL: https://github.com/apache/incubator-hugegraph/issues/2541
### Bug Type (问题类型) rest-api (结果不合预期) ### Before submit - [X] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 [FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents) ### Environment (环境信息) - Server Version: 1.3.0 (Apache Release Version) - Backend: RocksDB x nodes, HDD or SSD - OS: xx CPUs, xx G RAM, Ubuntu 2x.x / CentOS 7.x - Data Size: 3 vertices, 0 edges ### Expected & Actual behavior (期望与实际表现) 1, query by page can get vertices, as below:  2, but query by id can not found  error: Vertex '3b567246-d408-461f-b481-a899d1477e0d' does not exist ### Vertex/Edge example (问题点 / 边数据举例) ```javascript all vertex: o edge: { "vertices": [ { "id": "3b567246-d408-461f-b481-a899d1477e0d", "label": "dsLineageVertexLabel", "type": "vertex", "properties": { "dsName": "bobo_test_0307", "vertexType": "data_source", "createBy": "admin", "dsType": "MySQL", "createTime": "2024-05-22 19:45:17" } }, { "id": "a9a0e424-129b-487d-a089-6372673ebedc", "label": "taskLineageVertexLabel", "type": "vertex", "properties": { "updateBy": "admin", "dataFrom": "bobo_test_0307", "dataTo": "ods_yuting/ods_mysql_productyieldtrend", "vertexType": "task", "taskName": "yuting-test2", "taskStatus": "待运行", "taskType": "1", "schedulePeriod": "", "createTime": "2024-05-22 19:45:17", "updateTime": "2024-05-22 19:45:17" } }, { "id": "ea891fa1-bb39-4ec1-97ba-ada0c332010a", "label": "tableLineageVertexLabelTTI", "type": "vertex", "properties": { "updateBy": "admin", "vertexType": "table", "targetTblFullName": "ods_yuting/ods_mysql_productyieldtrend", "targetTblType": "普通表", "fieldNum": 3, "tableSize": "0", "totalCount": "0", "ddlUpdateTime": "2024-05-22 19:45:17", "dataLastUpdateTime": "2024-05-22 19:45:17", "administrator": "admin", "desc": "", "createTime": "2024-05-22 19:45:17", "updateTime": "2024-05-22 19:45:17" } } ], "page": null } ``` ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构) ```javascript { "propertykeys": [ { "id": 80, "name": "publishBy", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.140" } }, { "id": 81, "name": "publishTime", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.145" } }, { "id": 84, "name": "createBy", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.162" } }, { "id": 82, "name": "dsName", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.152" } }, { "id": 83, "name": "dsType", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.158" } }, { "id": 59, "name": "taskType", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.003" } }, { "id": 57, "name": "taskName", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:04.987" } }, { "id": 58, "name": "taskStatus", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:04.996" } }, { "id": 62, "name": "createTime", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.019" } }, { "id": 63, "name": "updateTime", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.023" } }, { "id": 60, "name": "schedulePeriod", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.009" } }, { "id": 61, "name": "lastRunTime", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.014" } }, { "id": 66, "name": "dataTo", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.041" } }, { "id": 67, "name": "vertexType", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.047" } }, { "id": 64, "name": "updateBy", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.029" } }, { "id": 65, "name": "dataFrom", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.035" } }, { "id": 68, "name": "targetTblFullName", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.055" } }, { "id": 69, "name": "targetTblType", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.062" } }, { "id": 70, "name": "fieldNum", "data_type": "INT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.070" } }, { "id": 73, "name": "ddlUpdateTime", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.094" } }, { "id": 74, "name": "dataLastUpdateTime", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.100" } }, { "id": 71, "name": "tableSize", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.078" } }, { "id": 72, "name": "totalCount", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.085" } }, { "id": 77, "name": "apiName", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.119" } }, { "id": 78, "name": "apiPath", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.125" } }, { "id": 75, "name": "administrator", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.108" } }, { "id": 76, "name": "desc", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.113" } }, { "id": 79, "name": "apiStatus", "data_type": "TEXT", "cardinality": "SINGLE", "aggregate_type": "NONE", "write_type": "OLTP", "properties": [], "status": "CREATED", "user_data": { "~create_time": "2024-05-23 03:42:05.131" } } ], "vertexlabels": [ { "id": 12, "name": "dsLineageVertexLabel", "id_strategy": "CUSTOMIZE_UUID", "primary_keys": [], "nullable_keys": [ "createBy", "createTime" ], "index_labels": [], "properties": [ "dsName", "vertexType", "dsType", "createBy", "createTime" ], "status": "CREATED", "ttl": 0, "enable_label_index": true, "user_data": { "~create_time": "2024-05-23 03:42:05.198" } }, { "id": 11, "name": "apiLineageVertexLabel", "id_strategy": "CUSTOMIZE_UUID", "primary_keys": [], "nullable_keys": [ "publishBy", "updateBy", "publishTime", "updateTime" ], "index_labels": [], "properties": [ "publishBy", "updateBy", "publishTime", "vertexType", "apiName", "apiPath", "updateTime", "apiStatus" ], "status": "CREATED", "ttl": 0, "enable_label_index": true, "user_data": { "~create_time": "2024-05-23 03:42:05.193" } }, { "id": 10, "name": "taskLineageVertexLabel", "id_strategy": "CUSTOMIZE_UUID", "primary_keys": [], "nullable_keys": [ "lastRunTime", "createTime", "updateTime" ], "index_labels": [], "properties": [ "updateBy", "dataFrom", "dataTo", "vertexType", "taskName", "taskStatus", "taskType", "schedulePeriod", "lastRunTime", "createTime", "updateTime" ], "status": "CREATED", "ttl": 0, "enable_label_index": true, "user_data": { "~create_time": "2024-05-23 03:42:05.186" } }, { "id": 9, "name": "tableLineageVertexLabelTTI", "id_strategy": "CUSTOMIZE_UUID", "primary_keys": [], "nullable_keys": [ "updateBy", "ddlUpdateTime", "dataLastUpdateTime", "administrator", "desc" ], "index_labels": [], "properties": [ "updateBy", "vertexType", "targetTblFullName", "targetTblType", "fieldNum", "tableSize", "totalCount", "ddlUpdateTime", "dataLastUpdateTime", "administrator", "desc", "createTime", "updateTime" ], "status": "CREATED", "ttl": 0, "enable_label_index": true, "user_data": { "~create_time": "2024-05-23 03:42:05.179" } } ], "edgelabels": [ { "id": 9, "name": "dsToTaskLineageEdgeLabelTTI", "source_label": "dsLineageVertexLabel", "target_label": "taskLineageVertexLabel", "frequency": "MULTIPLE", "sort_keys": [ "taskName" ], "nullable_keys": [], "index_labels": [], "properties": [ "taskName" ], "status": "CREATED", "ttl": 0, "enable_label_index": true, "user_data": { "~create_time": "2024-05-23 03:42:05.213" } }, { "id": 12, "name": "tableToApiLineageEdgeLabelTTI", "source_label": "tableLineageVertexLabelTTI", "target_label": "apiLineageVertexLabel", "frequency": "MULTIPLE", "sort_keys": [ "apiName" ], "nullable_keys": [], "index_labels": [], "properties": [ "apiName" ], "status": "CREATED", "ttl": 0, "enable_label_index": true, "user_data": { "~create_time": "2024-05-23 03:42:05.230" } }, { "id": 11, "name": "tableToTaskLineageEdgeLabelTTI", "source_label": "tableLineageVertexLabelTTI", "target_label": "taskLineageVertexLabel", "frequency": "MULTIPLE", "sort_keys": [ "taskName" ], "nullable_keys": [], "index_labels": [], "properties": [ "taskName" ], "status": "CREATED", "ttl": 0, "enable_label_index": true, "user_data": { "~create_time": "2024-05-23 03:42:05.223" } }, { "id": 10, "name": "taskToTableLineageEdgeLabelTTI", "source_label": "taskLineageVertexLabel", "target_label": "tableLineageVertexLabelTTI", "frequency": "MULTIPLE", "sort_keys": [ "targetTblFullName" ], "nullable_keys": [], "index_labels": [], "properties": [ "targetTblFullName" ], "status": "CREATED", "ttl": 0, "enable_label_index": true, "user_data": { "~create_time": "2024-05-23 03:42:05.218" } } ], "indexlabels": [] } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
