Commit 442ca5a
Add Feature Tables API to Core & Python SDK (#1019)
* Reorganise existing protos in CoreService by type.
Signed-off-by: Terence <terencelimxp@gmail.com>
* Add new FeatureTables API to Core Protobuf definitions
Signed-off-by: Terence <terencelimxp@gmail.com>
* Fix name collision in proto java outer classname with message name
Signed-off-by: Terence <terencelimxp@gmail.com>
* Add missing max age field to Feature Table proto.
Signed-off-by: Terence <terencelimxp@gmail.com>
* Add Flyway DB migration to add Feature Table API.
Signed-off-by: Terence <terencelimxp@gmail.com>
* 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 <terencelimxp@gmail.com>
* FeatureTable: Rename entity_names to entities
Signed-off-by: Terence <terencelimxp@gmail.com>
* Revert Reorganise existing protos in CoreService by type as it make it hard for reviewers to review changes
Signed-off-by: Terence <terencelimxp@gmail.com>
* Add FeatureSource entity for native representation of FeatureSource protobuf
Signed-off-by: Terence <terencelimxp@gmail.com>
* Add missing nullable annotation on FeatureSource entity.
Signed-off-by: Terence <terencelimxp@gmail.com>
* Update ListFeatureTablesRequest's Filter to follow naming convention.
Signed-off-by: Terence <terencelimxp@gmail.com>
* Add missing serialization code for FeatureSource's field mapping.
Signed-off-by: Terence <terencelimxp@gmail.com>
* Split Feature proto from FeatureTable proto.
Signed-off-by: Terence <terencelimxp@gmail.com>
* Update FeatureTable entity_names field to entities
Signed-off-by: Terence <terencelimxp@gmail.com>
* Revert putting project in feature table spec
Signed-off-by: Terence <terencelimxp@gmail.com>
* Update ListFeatureTable Proto to return full FeatureTable objects and limit to listing from one Project.
Signed-off-by: Terence <terencelimxp@gmail.com>
* Fix typo in CoreService proto
Signed-off-by: Terence <terencelimxp@gmail.com>
* Add FeatureV2 core model to store FeatureSpecV2
Signed-off-by: Terence <terencelimxp@gmail.com>
* Add FeatureTable core model to store FeatureTable protos
Signed-off-by: Terence <terencelimxp@gmail.com>
* Fix naming grammar in CoreService proto
Signed-off-by: Terence <terencelimxp@gmail.com>
* Standardise naming of specifying projects in CoreService proto
Signed-off-by: Terence <terencelimxp@gmail.com>
* Rename FeatureSource proto to FeatureSourceSpec for compatiblity.
Signed-off-by: Terence <terencelimxp@gmail.com>
* Update FeatureSource model to store type specific options as seperate columns instead of JSON.
Signed-off-by: Terence <terencelimxp@gmail.com>
* Add FeatureTableTest unit test to test FeatureTable core model
Signed-off-by: Terence <terencelimxp@gmail.com>
* Add FeatureTableValidator to validate FeatureTableSpec protobufs
Signed-off-by: Terence <terencelimxp@gmail.com>
* Add listFeatureTables(), applyFeatureTable() & getFeatureTable() to Core's SpecService
Signed-off-by: Terence <terencelimxp@gmail.com>
* Add FeatureTableRepository to save & retrieve FeatureTables in database.
Signed-off-by: Terence <terencelimxp@gmail.com>
* Fix hibernate errors on Feast Core boot.
Signed-off-by: Terence <terencelimxp@gmail.com>
* Implement listFeatureTables() , applyFeatureTable(), and getFeatureTable() in CoreServiceImpl
Signed-off-by: Terence <terencelimxp@gmail.com>
* Add applyFeatureSet integration tests SpecServiceIT
Signed-off-by: Terence <terencelimxp@gmail.com>
* Various fixes for creating FeatureTabes with applyFeatureTable
Signed-off-by: Terence <terencelimxp@gmail.com>
* Fixed bug with updating FeatureTable
Signed-off-by: Terence <terencelimxp@gmail.com>
* Update ListFeatureTables
Signed-off-by: Terence <terencelimxp@gmail.com>
* Add Python SDK
Signed-off-by: Terence <terencelimxp@gmail.com>
* Update GetFeatureTable
Signed-off-by: Terence <terencelimxp@gmail.com>
* Remove unused proto imports and generate go protos
Signed-off-by: Terence <terencelimxp@gmail.com>
* Fix ListFeatureTables IT
Signed-off-by: Terence <terencelimxp@gmail.com>
* Update comment to generalize FeatureSource's field mapping to all fields instead of just for feature.
Signed-off-by: Terence <terencelimxp@gmail.com>
* Fix feature table validator condition
Signed-off-by: Terence <terencelimxp@gmail.com>
* Fix feature table unit tests
Signed-off-by: Terence <terencelimxp@gmail.com>
* Update feature source proto
Signed-off-by: Terence <terencelimxp@gmail.com>
* Address PR comments
Signed-off-by: Terence <terencelimxp@gmail.com>
* Replace test with IT
Signed-off-by: Terence <terencelimxp@gmail.com>
* Update IT config
Signed-off-by: Terence <terencelimxp@gmail.com>
* Fix removal of entity check
Signed-off-by: Terence <terencelimxp@gmail.com>
* Fix test sort issue
Signed-off-by: Terence <terencelimxp@gmail.com>
* Store source options as json
Signed-off-by: Terence <terencelimxp@gmail.com>
* Update go protos
Signed-off-by: Terence <terencelimxp@gmail.com>
* Remove go FeatureSource proto
Signed-off-by: Terence <terencelimxp@gmail.com>
* Increase IT max pool size
Signed-off-by: Terence <terencelimxp@gmail.com>
* Reduce pool size instead
Signed-off-by: Terence <terencelimxp@gmail.com>
* Replace mutablemapping with dict
Signed-off-by: Terence <terencelimxp@gmail.com>
* Standardize use of timestamp_column instead of ts_column
Signed-off-by: Terence <terencelimxp@gmail.com>
Co-authored-by: Terence Lim <terencelimxp@gmail.com>1 parent 87ee594 commit 442ca5a
File tree
35 files changed
+5913
-476
lines changed- common-test/src/main/java/feast/common
- it
- util
- core/src
- main
- java/feast/core
- dao
- grpc
- model
- service
- validators
- resources/db/migration
- test
- java/feast/core
- auth
- model
- service
- validators
- resources
- protos/feast/core
- sdk
- go/protos/feast/core
- python
- feast
- tests
35 files changed
+5913
-476
lines changedLines changed: 78 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
| 26 | + | |
| 27 | + | |
21 | 28 | | |
| 29 | + | |
22 | 30 | | |
23 | 31 | | |
24 | 32 | | |
| |||
130 | 138 | | |
131 | 139 | | |
132 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
133 | 150 | | |
134 | 151 | | |
135 | 152 | | |
| |||
193 | 210 | | |
194 | 211 | | |
195 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
196 | 274 | | |
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
78 | 87 | | |
79 | 88 | | |
80 | 89 | | |
| |||
131 | 140 | | |
132 | 141 | | |
133 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
134 | 152 | | |
135 | 153 | | |
136 | 154 | | |
| |||
190 | 208 | | |
191 | 209 | | |
192 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
193 | 221 | | |
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
40 | 74 | | |
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
285 | 286 | | |
286 | 287 | | |
287 | 288 | | |
288 | | - | |
289 | | - | |
| 289 | + | |
| 290 | + | |
290 | 291 | | |
291 | 292 | | |
292 | 293 | | |
| |||
391 | 392 | | |
392 | 393 | | |
393 | 394 | | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
394 | 494 | | |
0 commit comments