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

feat: Add describe for function schema and add is_function_output for FieldSchema #321

Merged
merged 1 commit into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
aoiasd marked this conversation as resolved.
Show resolved Hide resolved
}

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
Loading