(row: CachedPiM0M1Row, sessionId: string)
| 1890 | } |
| 1891 | |
| 1892 | function decodeCachedM1(row: CachedPiM0M1Row, sessionId: string): string { |
| 1893 | if (!row.cached_m1_bytes) { |
| 1894 | throw new PiMaterializeContentionError( |
| 1895 | `missing cached m[1] for ${sessionId}`, |
| 1896 | ); |
| 1897 | } |
| 1898 | return decodeCachedM0(row.cached_m1_bytes) ?? PI_M1_PLACEHOLDER; |
| 1899 | } |
| 1900 | |
| 1901 | function applyCachedPiRow(args: { |
| 1902 | row: CachedPiM0M1Row; |
no test coverage detected