Commit 588751b
fix: Pass schema context to codec encode for schema-addressed paths
The SchemaCodec (used by NpyCodec and ObjectCodec) needs _schema,
_table, _field, and primary key values to construct schema-addressed
storage paths. Previously, key=None was passed, resulting in
"unknown/unknown" paths.
Now builds proper context dict from table metadata and row values,
enabling navigable paths like:
{schema}/{table}/objects/{pk_path}/{attribute}.npy
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 08d5c6a commit 588751b
1 file changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1177 | 1177 | | |
1178 | 1178 | | |
1179 | 1179 | | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
1180 | 1193 | | |
1181 | 1194 | | |
1182 | 1195 | | |
1183 | 1196 | | |
1184 | 1197 | | |
1185 | 1198 | | |
1186 | 1199 | | |
1187 | | - | |
| 1200 | + | |
1188 | 1201 | | |
1189 | | - | |
| 1202 | + | |
1190 | 1203 | | |
1191 | 1204 | | |
1192 | 1205 | | |
| |||
0 commit comments