alibaba / alibaba/GraphScope

feature(interactive): Support arithmetics in compiler

Open
#4,088 1 comment 0 reactions 2 assignees Claimed by @shirly121 View on GitHub
stale
Dominant language
C++
Stars
3.6k
Forks
468
Avg merge
29m
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**
BI benchmark requires for the implementation of the following arithmetics in expression of physical plan:
- [ ] Absolute value
- [ ] Round
- [ ] Sqrt
- [ ] Duration
- [ ] date
Arithmetic `date` can obtain the date from a timestamp
`Match (comment:COMMENT) WHERE date(comment.creationDate)=date($datetime)`

At the same time, the following features are also expected to be supported in the compiler
1. Support String List in dynamic parameter
`WHERE post.language IN $languages`
2. Support path length as a dynamic parameter
`MATCH (p1:PERSON {id : $id})-[k:KNOWS*1..$max]-(expert:PERSON)`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.