Skip to content

Commit f8ce38e

Browse files
committed
Adjust syntax in RNtuple
1 parent a83518c commit f8ce38e

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

modules/rntuple.mjs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,12 +1062,8 @@ async function readNextCluster(rntuple, selector) {
10621062
// Ensure blob is a DataView
10631063
if (!(blob instanceof DataView))
10641064
throw new Error(`Invalid blob type for page ${i}: ${Object.prototype.toString.call(blob)}`);
1065-
const {
1066-
page,
1067-
colDesc
1068-
} = pages[i],
1069-
field = builder.fieldDescriptors[colDesc.fieldId],
1070-
values = builder.deserializePage(blob, colDesc, page);
1065+
const colDesc = pages[i].colDesc,
1066+
values = builder.deserializePage(blob, colDesc, pages[i].page);
10711067

10721068
// Support multiple representations (e.g., string fields with offsets + payload)
10731069
if (!rntuple._clusterData[colDesc.index])

0 commit comments

Comments
 (0)