Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

UUID property isn't compared correctly when used in a long query

オープン
#4,731 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java
領域
databases

調査の方向性

まず、UUID型のEntityIdプロパティを持つBerkeleyバックエンドに対して、説明されているhasおよびhasLabelトラバーサルを再現し、他の頂点からのトラバーサルと直接ルックアップを比較します。最初のクエリでもv[4280]が見つかり、プロパティを文字列として保存した場合の動作と一致すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

kind/bug/possible

Hi team

It looks like the has step is not very consistent when dealing with UUID properties:
Screenshot 2024-11-15 at 15 12 37

When I use has and hasLabel to search for a vertex by the UUID property, I can simply provide a string and it will find me that vertex (second query), but not when starting the traversal with other vertices (first query).
The expected behaviour is that the first query will find me v[4280] as well.

If I make the EntityId property as a string type then the first two queries give me the same results as expected.

I'm using version janusgraph:1.1.0-20241018-025853.872a475 with the berkeley backend, all settings are default, no indices.

主要言語
Java
スター
5.9k
フォーク
1.2k
平均マージ
2日 6時間
マージ済み PR(30日)
77

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

JanusGraph/janusgraph のほかの issue

JanusGraph/janusgraph の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。