apache / apache/hugegraph-doc

[Bug] gremlin query response in `hugegraph hubble` is different from document

Open
#286 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
71
Forks
120
Avg merge
20h 5m
Merged PRs (30d)
21

Description

### Bug Type (问题类型)

data inconsistency (数据不一致)

### Before submit

- [X] I had searched in the [issues](https://github.com/apache/hugegraph-toolchain/issues) and found no similar issues.

### Environment (环境信息)

- Server Version: v1.0.0:latest [Docker]
- Hubble Version: v1.6.0:latest [Docker]
- Data Size: 2 vertices, 1 edges

### Expected & Actual behavior (期望与实际表现)

As shown in picture below, gremlin query response in `hugegraph hubble` is different from document [gremlin 查询边](https://hugegraph.apache.org/cn/docs/clients/restful-api/gremlin/#response-body-2)
which includes `inV` and `outV` instead of `source` and `target`
```json
{
"id": "S1:marko>2>>S2:lop",
"label": "created",
"type": "edge",
"inVLabel": "software",
"outVLabel": "person",
"inV": "2:lop",
"outV": "1:marko",
"properties": {
"weight": 0.4,
"date": "20171210"
}
}
```
![image](https://github.com/apache/incubator-hugegraph-toolchain/assets/62061729/93333884-de97-442b-ac06-58c19274f046)

### Vertex/Edge example (问题点 / 边数据举例)

_No response_

### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.