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

Update KVOperations v2 maths operations #6

Open
2 tasks
maoueh opened this issue Jan 30, 2023 · 0 comments
Open
2 tasks

Update KVOperations v2 maths operations #6

maoueh opened this issue Jan 30, 2023 · 0 comments

Comments

@maoueh
Copy link
Contributor

maoueh commented Jan 30, 2023

Update the KVOperations to reflect the following model.

message KVOperations {
  repeated KVOperation operations = 1;
}

message KVOperation {
  string key = 1;
  bytes value = 2;
  oneof value {
    string string = 1;
    bytes bytes = 2;
    uint64 uint64 = 3;
    int64 int64 = 4;
    uint32 uint32 = 5;
    int32 int32 = 6;
    string bigint = 7;
    string bigdecimal = 8;
    bool bool = 9;
  }
  Op op = 3;
  enum Op {
    UNSET = 0;
    SET = 1;
    DELETE = 2;
    ADD = 3;
    MAX = 4;
    MIN = 5;
  }
}
  • Update Proto & KV Sink operation
  • Update example in block_meta substreams
@maoueh maoueh changed the title Add KV_CHANGES v2's maths operations to sink-kv Add DatabaseChanges v2 maths operations to sink KV Jan 30, 2023
@jubeless jubeless changed the title Add DatabaseChanges v2 maths operations to sink KV Update KVOperations v2 maths operations Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant