Skip to content

Implements protobuf column storage (part of Dremel) in C++14.

Notifications You must be signed in to change notification settings

demon386/proto3-column-storage

Repository files navigation

Protobuf 3 column storage (Dremel) in C++14

Note: This is still WIP.

This is an ongoing effort to implement Protobuf column storage in C++. The format and algorithm are illustrated in Google's Dremel paper. Parquet adapts the same idea.

Required libraries:

  • Protobuf 3
  • Google test
  • Glog

Serialize a Proto into column format

pb::Document doc;
// Full field name to serialized data.
std::map<std::string, std::string> serialized = proto_column::Serialize(doc);
for (const auto& column_and_data : serialized) {
  const std::string& serialized = column_and_data.second;
  // ...
}

Deserialize and re-construct Proto

TODO

About

Implements protobuf column storage (part of Dremel) in C++14.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published