Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add describe for function schema and add is_function_output for Field…
Browse files Browse the repository at this point in the history
… schena

Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
aoiasd committed Sep 8, 2024
1 parent d3a0eb3 commit 7233133
Showing 2 changed files with 289 additions and 266 deletions.
541 changes: 281 additions & 260 deletions go-api/schemapb/schema.pb.go
14 changes: 8 additions & 6 deletions proto/schema.proto
Original file line number Diff line number Diff line change
@@ -71,17 +71,19 @@ message FieldSchema {
bool is_partition_key = 13; // enable logic partitions
bool is_clustering_key = 14;
bool nullable = 15; // enable set null as field value
bool is_function_output =16;
}

message FunctionSchema {
string name = 1;
int64 id =2;
FunctionType type = 3;
repeated string input_field_names = 4;
repeated int64 input_field_ids = 5;
repeated string output_field_names = 6;
repeated int64 output_field_ids = 7;
repeated common.KeyValuePair params = 8;
string describe = 3;
FunctionType type = 4;
repeated string input_field_names = 5;
repeated int64 input_field_ids = 6;
repeated string output_field_names = 7;
repeated int64 output_field_ids = 8;
repeated common.KeyValuePair params = 9;
}

/**

0 comments on commit 7233133

Please sign in to comment.