Commit ce5a130
Respect specified ValueTypes for features during materialization (feast-dev#1906)
* assert float feature is still float from online store
Signed-off-by: Jeff <jeffxl@apple.com>
* ensure float features retain float type from online store
Floats were converted to doubles when materialized to
the online store. There is a broader bug trend around
type conversions and this particular conversion utility
function looks like it could use some cleanup. This
commit is a quick fix.
Signed-off-by: Jeff <jeffxl@apple.com>
* make fix more general
Signed-off-by: Achal Shah <achals@gmail.com>
* Use assertAlmostEquals
Signed-off-by: Achal Shah <achals@gmail.com>
* format
Signed-off-by: Achal Shah <achals@gmail.com>
* Support pandas timestamps correctly
Signed-off-by: Achal Shah <achals@gmail.com>
* Support pandas timestamps correctly
Signed-off-by: Achal Shah <achals@gmail.com>
* Correct import
Signed-off-by: Achal Shah <achals@gmail.com>
Co-authored-by: Achal Shah <achals@gmail.com>1 parent 6faf3a2 commit ce5a130
3 files changed
Lines changed: 31 additions & 14 deletions
File tree
- sdk/python
- feast
- tests/integration/online_store
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
249 | 255 | | |
250 | 256 | | |
251 | 257 | | |
| |||
317 | 323 | | |
318 | 324 | | |
319 | 325 | | |
320 | | - | |
| 326 | + | |
321 | 327 | | |
322 | 328 | | |
323 | 329 | | |
| |||
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
| 46 | + | |
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
| |||
Lines changed: 15 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
118 | 119 | | |
119 | | - | |
| 120 | + | |
120 | 121 | | |
121 | 122 | | |
122 | | - | |
123 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | | - | |
| 128 | + | |
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
130 | 132 | | |
| 133 | + | |
131 | 134 | | |
132 | 135 | | |
133 | 136 | | |
| |||
254 | 257 | | |
255 | 258 | | |
256 | 259 | | |
| 260 | + | |
257 | 261 | | |
258 | 262 | | |
259 | 263 | | |
260 | 264 | | |
261 | | - | |
| 265 | + | |
262 | 266 | | |
263 | 267 | | |
264 | | - | |
265 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
266 | 271 | | |
0 commit comments