choeoe opened a new issue, #3318: URL: https://github.com/apache/hugegraph/issues/3318
### Bug Type (问题类型) rest-api (结果不合预期) ### Before submit - [x] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 [FAQ](https://hugegraph.apache.org/docs/guides/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:latest` as tested on 2026-09-27 - Backend: default Docker standalone backend - Interface: Cypher REST endpoint ### Expected & Actual behavior (期望与实际表现) Given: ```cypher 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: ```text Unknown function 'date' ``` The failure is data-independent and is raised even when `date()` appears only in a dead expression branch. ### Vertex/Edge example (问题点 / 边数据举例) ```javascript One vertex is sufficient: (:L0 {i0: 1, s0: 'a', d0: '2020-01-02'}) No edges are required. ``` ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构) ```javascript - Vertex label: `L0` - Properties: `i0` integer, `s0` string, `d0` string/date-like value - No secondary index is required for the function-resolution failure. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
