Repository navigation
Commit 03f30fe
fix: Read None elements of UUID and Decimal lists as None (#7039)
A None element in a UUID_LIST, TIME_UUID_LIST or DECIMAL_LIST is written
as "" (see _LIST_NONE_DEFAULTS), but feast_value_type_to_python_type
passed every element to UUID() or Decimal(). The write succeeded and
reading the row back raised ValueError or InvalidOperation. Read "" back
as None, as the unix timestamp list reader already does for its null
sentinel.
Signed-off-by: spicysharkco <[email protected]>
Co-authored-by: Shuchu Han <[email protected]>1 parent 8ce548c commit 03f30fe
2 files changed
Lines changed: 38 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
239 | 243 | | |
240 | 244 | | |
241 | 245 | | |
242 | 246 | | |
243 | 247 | | |
244 | 248 | | |
245 | 249 | | |
246 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
247 | 254 | | |
248 | 255 | | |
249 | 256 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1630 | 1630 | | |
1631 | 1631 | | |
1632 | 1632 | | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
1633 | 1651 | | |
1634 | 1652 | | |
1635 | 1653 | | |
| |||
1760 | 1778 | | |
1761 | 1779 | | |
1762 | 1780 | | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
| 1790 | + | |
| 1791 | + | |
1763 | 1792 | | |
1764 | 1793 | | |
1765 | 1794 | | |
| |||
0 commit comments