tugraph-db icon indicating copy to clipboard operation
tugraph-db copied to clipboard

TuGraph is a high performance graph database.

Results 167 tugraph-db issues
Sort by recently updated
recently updated
newest added

# 问题描述 子图为TuGraph提供的MovieDemo, Cypher为"match p=(n1)-[r1]->(m:movie)(n2) return n1.login,n2.login", 根据MovieDemo的Schema,n1和n2都只可能是user类型,所以n1.login和n2.login都不应该是"null",但是从结果看不是这样,再次测试发现很多n1,n2都是person类型,这说明(n1)-[r3]->(n2)的限制并没有被应用,从执行计划上看也是这样。 ``` Produce Results Project [n1.login,n2.login] Expand(All) [m m ] All Node Scan [n1] ``` 根据源码看,cypher::PatternGraph::_CollectExpandStepsByDFS的提取最大连通子图的方式本来就不支持环,对于这个cypher,它会先将{n1,r1,m}这个三元组加入,然后将{m,r2,n2}这个三元组加入,然后n1,m,n2这三个点都被访问过那么就不会加入新的三元组,所以就不会处理环。 # 处理意见 对于cypher::PatternGraph::_CollectExpandStepsByDFS这个函数,每次加入新的三元组的时候不应该判断邻点有没有被访问?应该判断边有没有被访问?毕竟三元组事实上是和一条边一一对应的

bug
cypher

**Wrong Results for Triangle Query** TuGraph 3.5.0 provided wrong results on Finding Triangles in a graph when executing cypher on web interface. **To Reproduce** I used tugraph/tugraph-runtime-centos7 with tag "latest",...

bug
cypher

### **需求描述** - 在cypher层面支持date与datetime的大小比较。 ### **Brief Description** - support comparision between date and datetime at the cypher level

feature request

4.0.0 的docker版本,根据文档显示支持merge操作,https://tugraph-db.readthedocs.io/zh_CN/v4.0.0/5.developer-manual/6.interface/1.query/1.cypher.html#id1 ,实际使用merge创建节点时报错如下 ![e35b795b636d9b2d08756588bce0157](https://github.com/TuGraph-family/tugraph-db/assets/44836806/b3209827-423f-48c6-bc4c-adc462b84929)

bug
cypher

过程是这样的:我把TuGraph和一个dfs文件系统部署在一台机器上,用TuGraph做文件信息管理,当时有测过一些文件上传,数据库没有问题;后来测试的时候有一些视频转流和解码存储的操作,可能有大量io和cpu消耗,当时发现一些非主键或数据量较大的节点扫描命令在TuGraph阻塞住了,最多时可能有20,30条阻塞,就进行了TuGraph容器重启。第二天进行测试的时候发现保存视频信息节点的结束时间endTime字段为空,80%该类节点的endTime值都丢失了 ![IMG_20231019_100340](https://github.com/TuGraph-family/tugraph-db/assets/52518396/855dd7af-39bb-4763-8c40-67fd2d538ee6) 这是当时的机器负载情况 丢失属性的节点写入cypher是merge (n0:video{id:12451}) set n0+={id:12451 ,start_time:'2023-10-23 10:12:58',end_time:'2023-10-23 10:15:06'} merge (n1:video{id:12452}) set n1+={id:12452 ,start_time:'2023-10-23 10:12:58',end_time:'2023-10-23 10:15:06'},当时执行成功了,但是重启后部分end_time为Null,其他字段正常 docker版本是tugraph-runtime-centos7:3.5.0,已经做了存储挂载。服务器系统是Ubuntu 18.04.5 LTS

bug

![wecom-temp-374095-e329255a453cca943634471db18da7a7](https://github.com/TuGraph-family/tugraph-db/assets/7361726/cb52ce6c-b8c4-486a-8fd6-06742013699b)

bug

**Is your feature request related to a problem? Please describe.** 在查询存储过程文档中,我发现更新的方法基本都是通过vid进行更新的,这样对于用户是不合理的,因为用户是不知道vid的,在书写代码的过程中也不会围绕vid去建立一个主键的体系的,用户是拥有自己的一套主键体系的。 **Describe the solution you'd like** 希望存储过程的更新方法能通过用户指定的主键类型去更新。 **Describe alternatives you've considered** 暂无 **Additional context** ![image](https://github.com/TuGraph-family/tugraph-db/assets/52989512/7a2651e7-be1e-4b32-abc4-ed5ee9d162bf)

good first issue
feature request

**Is your feature request related to a problem? Please describe.** Construct a snapshot cost a lot of time, some olap workloads can share a snapshot to save time. **Describe the...

feature request

## 需求描述 - 目前权限状态:https://tugraph-db.readthedocs.io/zh_CN/latest/5.developer-manual/8.other/1.privilege.html - 需要细化升级:权限层级、权限对象、权限粒度设计 注:如有需要,可以在开始这项工作前联系我们 --------------------------------------- ## Brief Description - Privilege design status: https://tugraph-db.readthedocs.io/zh_CN/latest/5.developer-manual/8.other/1.privilege.html - The design can be refined and improved in the granularity, level and the...

feature request

[Graph Algorithm Documentation](https://tugraph-db.readthedocs.io/en/latest/5.developer-manual/6.interface/2.olap/6.algorithms.html) lacks invocation examples and API signatures for the algorithms, which makes it unclear to users what parameters are needed and how to call the algorithms. ![image](https://github.com/TuGraph-family/tugraph-db/assets/2311313/e5826750-b316-4e67-add1-f954a13386f8)

doc