Skip to content

Commit

Permalink
Add description for function schema and add is_function_output for Fi…
Browse files Browse the repository at this point in the history
…eldSchema (#321)

Signed-off-by: aoiasd <[email protected]>
  • Loading branch information
aoiasd authored Sep 9, 2024
1 parent d3a0eb3 commit 8f8ca67
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 29 deletions.
67 changes: 44 additions & 23 deletions go-api/schemapb/schema.pb.go

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

14 changes: 8 additions & 6 deletions proto/schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 description = 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;
}

/**
Expand Down

0 comments on commit 8f8ca67

Please sign in to comment.