Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Feature Tables API to Core & Python SDK (#1019)
* Reorganise existing protos in CoreService by type. Signed-off-by: Terence <[email protected]> * Add new FeatureTables API to Core Protobuf definitions Signed-off-by: Terence <[email protected]> * Fix name collision in proto java outer classname with message name Signed-off-by: Terence <[email protected]> * Add missing max age field to Feature Table proto. Signed-off-by: Terence <[email protected]> * Add Flyway DB migration to add Feature Table API. Signed-off-by: Terence <[email protected]> * Rename options field to options_json and change type to text. * Options to be stored as Protobuf JSON. * Change from varchar to text to remove char limit Signed-off-by: Terence <[email protected]> * FeatureTable: Rename entity_names to entities Signed-off-by: Terence <[email protected]> * Revert Reorganise existing protos in CoreService by type as it make it hard for reviewers to review changes Signed-off-by: Terence <[email protected]> * Add FeatureSource entity for native representation of FeatureSource protobuf Signed-off-by: Terence <[email protected]> * Add missing nullable annotation on FeatureSource entity. Signed-off-by: Terence <[email protected]> * Update ListFeatureTablesRequest's Filter to follow naming convention. Signed-off-by: Terence <[email protected]> * Add missing serialization code for FeatureSource's field mapping. Signed-off-by: Terence <[email protected]> * Split Feature proto from FeatureTable proto. Signed-off-by: Terence <[email protected]> * Update FeatureTable entity_names field to entities Signed-off-by: Terence <[email protected]> * Revert putting project in feature table spec Signed-off-by: Terence <[email protected]> * Update ListFeatureTable Proto to return full FeatureTable objects and limit to listing from one Project. Signed-off-by: Terence <[email protected]> * Fix typo in CoreService proto Signed-off-by: Terence <[email protected]> * Add FeatureV2 core model to store FeatureSpecV2 Signed-off-by: Terence <[email protected]> * Add FeatureTable core model to store FeatureTable protos Signed-off-by: Terence <[email protected]> * Fix naming grammar in CoreService proto Signed-off-by: Terence <[email protected]> * Standardise naming of specifying projects in CoreService proto Signed-off-by: Terence <[email protected]> * Rename FeatureSource proto to FeatureSourceSpec for compatiblity. Signed-off-by: Terence <[email protected]> * Update FeatureSource model to store type specific options as seperate columns instead of JSON. Signed-off-by: Terence <[email protected]> * Add FeatureTableTest unit test to test FeatureTable core model Signed-off-by: Terence <[email protected]> * Add FeatureTableValidator to validate FeatureTableSpec protobufs Signed-off-by: Terence <[email protected]> * Add listFeatureTables(), applyFeatureTable() & getFeatureTable() to Core's SpecService Signed-off-by: Terence <[email protected]> * Add FeatureTableRepository to save & retrieve FeatureTables in database. Signed-off-by: Terence <[email protected]> * Fix hibernate errors on Feast Core boot. Signed-off-by: Terence <[email protected]> * Implement listFeatureTables() , applyFeatureTable(), and getFeatureTable() in CoreServiceImpl Signed-off-by: Terence <[email protected]> * Add applyFeatureSet integration tests SpecServiceIT Signed-off-by: Terence <[email protected]> * Various fixes for creating FeatureTabes with applyFeatureTable Signed-off-by: Terence <[email protected]> * Fixed bug with updating FeatureTable Signed-off-by: Terence <[email protected]> * Update ListFeatureTables Signed-off-by: Terence <[email protected]> * Add Python SDK Signed-off-by: Terence <[email protected]> * Update GetFeatureTable Signed-off-by: Terence <[email protected]> * Remove unused proto imports and generate go protos Signed-off-by: Terence <[email protected]> * Fix ListFeatureTables IT Signed-off-by: Terence <[email protected]> * Update comment to generalize FeatureSource's field mapping to all fields instead of just for feature. Signed-off-by: Terence <[email protected]> * Fix feature table validator condition Signed-off-by: Terence <[email protected]> * Fix feature table unit tests Signed-off-by: Terence <[email protected]> * Update feature source proto Signed-off-by: Terence <[email protected]> * Address PR comments Signed-off-by: Terence <[email protected]> * Replace test with IT Signed-off-by: Terence <[email protected]> * Update IT config Signed-off-by: Terence <[email protected]> * Fix removal of entity check Signed-off-by: Terence <[email protected]> * Fix test sort issue Signed-off-by: Terence <[email protected]> * Store source options as json Signed-off-by: Terence <[email protected]> * Update go protos Signed-off-by: Terence <[email protected]> * Remove go FeatureSource proto Signed-off-by: Terence <[email protected]> * Increase IT max pool size Signed-off-by: Terence <[email protected]> * Reduce pool size instead Signed-off-by: Terence <[email protected]> * Replace mutablemapping with dict Signed-off-by: Terence <[email protected]> * Standardize use of timestamp_column instead of ts_column Signed-off-by: Terence <[email protected]> Co-authored-by: Terence Lim <[email protected]>
- Loading branch information