Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#286 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
领域
api, documentation

调研方向

首先,将 issue 中显示的 Hubble Gremlin 查询响应与链接的 HugeGraph RESTful API 文档进行比较。追踪 edge 响应格式是在何处定义或记录的,然后验证返回的字段与文档是否一致,包括 inV/outV 与 source/target 的对比。

由索引模型根据 Issue 内容生成。

描述

bug
Bug Type (问题类型)

data inconsistency (数据不一致)

Before submit
  • I had searched in the 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 查询边
which includes inV and outV instead of source and target

{
	"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

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

No response

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

No response

主要语言
Python
星标
71
派生
129
平均合并
2 天 14 小时
30 天内合并 PR
34

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/hugegraph-doc 的其他 Issue

查看 apache/hugegraph-doc 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。