Skip to content

Commit

Permalink
Support logic partition
Browse files Browse the repository at this point in the history
Signed-off-by: xige-16 <[email protected]>
  • Loading branch information
xige-16 committed May 9, 2023
1 parent eaa38c8 commit 675e252
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 78 deletions.
173 changes: 95 additions & 78 deletions go-api/schemapb/schema.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions proto/schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ message FieldSchema {
// state is `Created`.
DataType element_type = 10; // For array type, the element type is stored here
ValueField default_value = 11; // default_value only support scalars except array and json for now
bool is_partition_key = 12; // enable logic partitions
int64 partitions = 13; // num of default physical partitions, and not support alter if enable logic partitions
}

/**
Expand Down

0 comments on commit 675e252

Please sign in to comment.