-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathTransformation.proto
More file actions
34 lines (27 loc) · 935 Bytes
/
Transformation.proto
File metadata and controls
34 lines (27 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
syntax = "proto3";
package feast.core;
option go_package = "github.com/feast-dev/feast/go/protos/feast/core";
option java_outer_classname = "FeatureTransformationProto";
option java_package = "feast.proto.core";
// Serialized representation of python function.
message UserDefinedFunctionV2 {
// The function name
string name = 1;
// The python-syntax function body (serialized by dill)
bytes body = 2;
// The string representation of the udf
string body_text = 3;
// The transformation mode (e.g., "python", "pandas", "ray", "spark", "sql")
string mode = 4;
}
// A feature transformation executed as a user-defined function
message FeatureTransformationV2 {
oneof transformation {
UserDefinedFunctionV2 user_defined_function = 1;
SubstraitTransformationV2 substrait_transformation = 2;
}
}
message SubstraitTransformationV2 {
bytes substrait_plan = 1;
bytes ibis_function = 2;
}