Commit f60155a
Add support for Cassandra Online Storage (#21)
* Add cassandra storage module and scaffold IT
Signed-off-by: Terence Lim <terencelimxp@gmail.com>
* Add partial implementation of Cassandra retriever
Signed-off-by: Terence Lim <terencelimxp@gmail.com>
* Add partial implementation
Signed-off-by: Terence Lim <terencelimxp@gmail.com>
* Update retrieval query and create schema table in IT
Signed-off-by: Terence Lim <terencelimxp@gmail.com>
* Fix IT
Signed-off-by: Terence Lim <terencelimxp@gmail.com>
* Retrieve timestamp and schema ref based on feature table
Signed-off-by: Khor Shu Heng <khor.heng@gojek.com>
* Fix retrieval logic
Signed-off-by: Terence Lim <terencelimxp@gmail.com>
* Refactor IT
Signed-off-by: Terence Lim <terencelimxp@gmail.com>
* Add more tests
Signed-off-by: Terence Lim <terencelimxp@gmail.com>
* Fix retrieval logic for same entity with multiple featuretable
Signed-off-by: Terence Lim <terencelimxp@gmail.com>
* Add IT for same entity with multiple featuretable retrieval
Signed-off-by: Terence Lim <terencelimxp@gmail.com>
* Use connection string instead of single host port pair
Signed-off-by: Khor Shu Heng <khor.heng@gojek.com>
* Update application.yml configuration
Signed-off-by: Terence Lim <terencelimxp@gmail.com>
* Update tests
Signed-off-by: Terence Lim <terencelimxp@gmail.com>
* Fix schema caching for Cassandra
Signed-off-by: Khor Shu Heng <khor.heng@gojek.com>
* Fix formatting
Signed-off-by: Khor Shu Heng <khor.heng@gojek.com>
* Refactor common functionality
Signed-off-by: Terence Lim <terencelimxp@gmail.com>
* Use default interface instead of concrete base class for sstable based retrievers
Signed-off-by: Khor Shu Heng <khor.heng@gojek.com>
* Extract common functionalities for bigttable and cassandra retriever
Signed-off-by: Khor Shu Heng <khor.heng@gojek.com>
* Fix formatting
Signed-off-by: Terence Lim <terencelimxp@gmail.com>
* Ignore features with null values
Signed-off-by: Khor Shu Heng <khor.heng@gojek.com>
Co-authored-by: Khor Shu Heng <khor.heng@gojek.com>1 parent bea6f21 commit f60155a
File tree
17 files changed
+1523
-164
lines changed- common-test/src/main/java/feast/common/it
- serving
- src
- main
- java/feast/serving/config
- resources
- test
- java/feast/serving/it
- resources/docker-compose
- storage/connectors
- bigtable
- src/main/java/feast/storage/connectors/bigtable/retriever
- cassandra
- src/main/java/feast/storage/connectors/cassandra/retriever
- sstable
- src/main/java/feast/storage/connectors/sstable/retriever
17 files changed
+1523
-164
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
252 | 256 | | |
253 | 257 | | |
254 | 258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
93 | 99 | | |
94 | 100 | | |
95 | 101 | | |
| |||
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
270 | 271 | | |
271 | 272 | | |
272 | 273 | | |
273 | | - | |
| 274 | + | |
274 | 275 | | |
275 | 276 | | |
276 | 277 | | |
| |||
316 | 317 | | |
317 | 318 | | |
318 | 319 | | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
319 | 327 | | |
320 | 328 | | |
321 | 329 | | |
| |||
329 | 337 | | |
330 | 338 | | |
331 | 339 | | |
| 340 | + | |
332 | 341 | | |
333 | 342 | | |
334 | 343 | | |
| |||
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
| |||
77 | 85 | | |
78 | 86 | | |
79 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
80 | 114 | | |
81 | 115 | | |
82 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
62 | 68 | | |
63 | 69 | | |
64 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
57 | 64 | | |
58 | 65 | | |
59 | 66 | | |
| |||
72 | 79 | | |
73 | 80 | | |
74 | 81 | | |
75 | | - | |
76 | | - | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
80 | 85 | | |
81 | 86 | | |
82 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
83 | 116 | | |
84 | 117 | | |
85 | 118 | | |
| |||
0 commit comments