alibaba / alibaba/euler

关于数据 block

Open
#12 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.9k
Forks
553
PR merge metrics
No merged PRs in 30d

Description

看到数据格式是block 如下所示,
{
"node_id": "顶点编号,int",
"node_type": "顶点类型,int",
"node_weight": "顶点权重,float",
"neighbor": {"边类型": {"邻居id": "权重", "...": "..."}, "...": "..."},
"uint64_feature": {"属性编号": ["int", "..."], "...": "..."},
"float_feature": {"属性编号": ["float", "..."], "...": "..."},
"binary_feature": {"属性编号": "string", "...": "..."},
"edge":[{
"src_id": "起点id, int",
"dst_id": "终点id, int",
"edge_type": "边类型, int",
"weight": "边权重, float",
"uint64_feature": {"属性编号": ["int", "..."], "...": ["int", "..."]},
"float_feature": {"属性编号": ["float", "..."], "...": ["float", "..."]},
"binary_feature": {"属性编号": "string", "...": "..."}
}, "..."]
}

请问一下是否支持自定义block,也就是不使用block中的所有键值对,如下:
{
"node_id": "顶点编号,int",
"node_type": "顶点类型,int",
"neighbor": {[]},
"edge":[{
"src_id": "起点id, int",
"dst_id": "终点id, int",

}, "..."]
}

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue only provides example block structures and names no source files or tests. Start by locating the code that parses or validates node and edge blocks, then determine whether omitted fields can be accepted; done means the reduced block example is supported without requiring the unused keys.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.