Commit 1ece694
authored
Hack to support forcing normalization (#7517)
## Summary
We need to support normalization of vector arrays to perform faster
compute. However, this will essentially always create larger arrays on
disk. This is a hack specifically for `L2Denorm` that will allow us
write normalized vector arrays to disk.
Given that writing scalar fn arrays to disk is already gated by an
environment variable and the unstable encodings feature flag, I think
this hack is fine for now.
## Testing
This just allows some arrays that are larger than canonical.
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>1 parent 47f1158 commit 1ece694
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
254 | 255 | | |
255 | 256 | | |
256 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
257 | 263 | | |
258 | 264 | | |
259 | 265 | | |
| |||
337 | 343 | | |
338 | 344 | | |
339 | 345 | | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
340 | 351 | | |
341 | 352 | | |
342 | 353 | | |
| |||
0 commit comments