alibaba / alibaba/GraphScope

[BUG] Failed to load graph: properties with the same name should have the same type ?

Open
#1,276 3 comments 0 reactions 1 assignee Claimed by @siyuan0322 View on GitHub
bug component:gae
Dominant language
C++
Stars
3.6k
Forks
468
Avg merge
29m
Merged PRs (30d)
1

Description

**Describe the bug**

For example: Loading graph failed (analytical engine crash) when the property name `weight` exists both in vertices and edges schema, but with a different type (int64 vs double).

```python
#
# vertices
#
id,weight(double)
1,1.2
3,3.4

#
# edges
#
src,dst,weight(int64)
1,5,1
1,9,1
```

**Expected behavior**

Support vertices and edges have the same property name with a different type. Or give reasonable error information to the client.

**Screenshots**

![截屏2022-01-17 下午4 22 08](https://user-images.githubusercontent.com/23491543/149737944-d731f513-ca51-4777-81b6-8dcae5523218.png)

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.