[Bug] Cypher endpoint rejects the standard date() function as unknown
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Java
- Estrellas
- 3.2k
- Forks
- 641
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 60
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/hugegraph
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
apache/hugegraph#3231 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug] Prometheus metrics format bugQuizá libre de nuevo @cui2022 la tomó hace 65 días y no hay ningún pull request abierto. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
apache/hugegraph#3142 · 7 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
[Bug] CI accepts obsolete PR targets after retargeting or force-pushQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
Todos los issues de apache/hugegraph
Issues similares
-
Status: Pending Review Type: Feature Request
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
OpenRefine/OpenRefine#8019 ·
Los mantenedores suelen responder en 1 día
-
`timer` rule rejects dates the engine acceptsPosiblemente ocupada @MFA-G la tomó hoy. Abiertobug ready
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
camunda/bpmnlint-plugin-camunda-compat#281 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
status: waiting-for-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día