[Bug] Cypher endpoint rejects the standard date() function as unknown
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with the Cypher REST endpoint’s function resolution path and trace where supported functions are registered or validated; the issue does not name source files or tests. Reproduce with the provided CREATE and MATCH queries, including the dead expression branch. Done means date() is recognized and the query returns 0 for the stated data.
索引モデルが issue の本文から書いたものです。
説明
Bug Type (问题类型)
rest-api (结果不合预期)
Before submit
- 我已经确认现有的 Issues 与 FAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)
Environment (环境信息)
- Server Version: 1.7.0
- Docker Image:
hugegraph/hugegraph:latestas tested on 2026-09-27 - Backend: default Docker standalone backend
- Interface: Cypher REST endpoint
Expected & Actual behavior (期望与实际表现)
Given:
CREATE (:L0 {i0: 1, s0: 'a', d0: '2020-01-02'});
MATCH (n {d0: date('2024-02-05')}) RETURN count(*);
Expected: the query executes and returns 0, because the only stored value
does not equal the constructed date.
Actual: query compilation fails with:
Unknown function 'date'
The failure is data-independent and is raised even when date() appears only
in a dead expression branch.
Vertex/Edge example (问题点 / 边数据举例)
One vertex is sufficient:
(:L0 {i0: 1, s0: 'a', d0: '2020-01-02'})
No edges are required.
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
- Vertex label: `L0`
- Properties: `i0` integer, `s0` string, `d0` string/date-like value
- No secondary index is required for the function-resolution failure.
- 主要言語
- Java
- スター
- 3.2k
- フォーク
- 641
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 60
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/hugegraph のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
apache/hugegraph#3231 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] Prometheus metrics format bug再び着手できるかも @cui2022 が 65 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
apache/hugegraph#3142 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
[Bug] CI accepts obsolete PR targets after retargeting or force-push再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
apache/hugegraph の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
NationalSecurityAgency/ghidra#9884 ·
メンテナーはふだん 2 日以内に返信
-
Status: Pending Review Type: Feature Request
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
OpenRefine/OpenRefine#8019 ·
メンテナーはふだん 1 日以内に返信
-
`timer` rule rejects dates the engine accepts対応中かも @MFA-G が今日担当しました。 オープンbug ready
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
camunda/bpmnlint-plugin-camunda-compat#281 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
status: waiting-for-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100