Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(format): add segment for info in protobuf definiton #618

Merged
merged 3 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions format/edge_info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ message EdgeInfo {
int64 num_destination_vertices = 3;
}
optional Statistics statistics = 11;
string version = 12;
};
8 changes: 3 additions & 5 deletions format/graph_info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,10 @@ option java_multiple_files = true;
option java_package = "org.apache.graphar.proto";
option go_package = "./graphar";

import "vertex_info.proto";
import "edge_info.proto";

message GraphInfo {
string name = 1;
repeated VertexInfo vertices = 2;
repeated EdgeInfo edges = 3;
repeated string vertices = 2;
repeated string edges = 3;
string prefix = 4;

// Statistics of the graph, including the number of vertices and edges
Expand All @@ -45,4 +42,5 @@ message GraphInfo {
string value = 2;
}
repeated KeyValue key_value_metadata = 6;
string version = 7;
};
1 change: 1 addition & 0 deletions format/vertex_info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ message VertexInfo {
int64 num_chunks = 2;
}
optional Statistics statistics = 5;
string version = 6;
};
Loading