-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Updating protos to separate transformation (#4018)
* feat: updating protos to separate transformation Signed-off-by: Francisco Javier Arceo <[email protected]> * fixed stuff...i think Signed-off-by: Francisco Javier Arceo <[email protected]> * updated tests and registry diff function Signed-off-by: Francisco Javier Arceo <[email protected]> * updated base registry Signed-off-by: Francisco Javier Arceo <[email protected]> * updated react component Signed-off-by: Francisco Javier Arceo <[email protected]> * formatted Signed-off-by: Francisco Javier Arceo <[email protected]> * updated stream feature view proto Signed-off-by: Francisco Javier Arceo <[email protected]> * making the proto changes backwards compatable Signed-off-by: Francisco Javier Arceo <[email protected]> * trying to make this backwards compatible Signed-off-by: Francisco Javier Arceo <[email protected]> * caught a bug and fixed the linter * actually linted Signed-off-by: Francisco Javier Arceo <[email protected]> * updated ui component Signed-off-by: Francisco Javier Arceo <[email protected]> * accidentally commented out fixtures * Updated Signed-off-by: Francisco Javier Arceo <[email protected]> * incrementing protos * updated tests Signed-off-by: Francisco Javier Arceo <[email protected]> * fixed linting issue and made backwards compatible Signed-off-by: Francisco Javier Arceo <[email protected]> * added more tests Signed-off-by: Francisco Javier Arceo <[email protected]> --------- Signed-off-by: Francisco Javier Arceo <[email protected]>
- Loading branch information
1 parent
e815562
commit c58ef74
Showing
14 changed files
with
482 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
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"; | ||
|
||
import "google/protobuf/duration.proto"; | ||
|
||
// 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; | ||
} | ||
|
||
// A feature transformation executed as a user-defined function | ||
message FeatureTransformationV2 { | ||
// Note this Transformation starts at 5 for backwards compatibility | ||
oneof transformation { | ||
UserDefinedFunctionV2 user_defined_function = 1; | ||
OnDemandSubstraitTransformationV2 on_demand_substrait_transformation = 2; | ||
} | ||
} | ||
|
||
message OnDemandSubstraitTransformationV2 { | ||
bytes substrait_plan = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.