Commit 6474dae
committed
Address review feedback: harden numpy_parser and improve tests
- Add buffer size guard before memcpy in unpack_row() to prevent overflow
- Remove dead mask_true constant and unused uint8_t cimport
- Fix copyright header (DataStax -> ScyllaDB)
- Replace hard-coded little-endian dtypes with native numpy dtypes
- Remove unused Mock import
- Add test for NULL vector mask handling
- Add test for unsupported subtype fallback to object array1 parent d9dfe9e commit 6474dae
2 files changed
Lines changed: 169 additions & 110 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | 77 | | |
80 | 78 | | |
81 | 79 | | |
| |||
181 | 179 | | |
182 | 180 | | |
183 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
184 | 186 | | |
185 | 187 | | |
186 | 188 | | |
| |||
0 commit comments