Skip to content

能不能提供工具将图数据集转成只有数字的数据集 #155

Answered by lixueclaire
fakeache asked this question in Q&A
Discussion options

You must be logged in to vote

Hi fakeache,

I understand that you're interested in transferring property graphs to simple graphs. GraphAr is actually designed to support property graphs, but it does assign an index to each vertex (vid) and uses that vid to store sources/destinations for edges. These indices can be generated from primary keys using the IndexGenerator feature in our Spark libraries. This is especially useful for datasets that use original ID or primary keys to represent the vertices, which may be in the form of strings as you mentioned.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by acezen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants