@loaders.gl/scan 5.0.0-alpha.8 → 5.0.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/delta.cjs +15 -1
- package/dist/delta.cjs.map +1 -1
- package/dist/hudi.cjs +15 -1
- package/dist/hudi.cjs.map +1 -1
- package/dist/iceberg.cjs +15 -1
- package/dist/iceberg.cjs.map +1 -1
- package/package.json +8 -8
package/dist/hudi.cjs
CHANGED
|
@@ -17601,6 +17601,7 @@ function fillParquetValueBuffer(output, value, start, end) {
|
|
|
17601
17601
|
return;
|
|
17602
17602
|
}
|
|
17603
17603
|
if (Array.isArray(output)) {
|
|
17604
|
+
if (output.length < end) output.length = end;
|
|
17604
17605
|
output.fill(value, start, end);
|
|
17605
17606
|
return;
|
|
17606
17607
|
}
|
|
@@ -23047,7 +23048,20 @@ async function filterParquetRowGroupsWithBloomFilters(initialization, rowGroupIn
|
|
|
23047
23048
|
let filtersRead = 0;
|
|
23048
23049
|
let bytesRead = 0;
|
|
23049
23050
|
for (const rowGroupIndex of rowGroupIndices) {
|
|
23050
|
-
|
|
23051
|
+
let rowGroup = initialization.metadata.rowGroups[rowGroupIndex];
|
|
23052
|
+
const rawRowGroup = initialization.fileMetadata.row_groups[rowGroupIndex];
|
|
23053
|
+
if (rawRowGroup.columns.some((columnChunk) => columnChunk.encrypted_column_metadata)) {
|
|
23054
|
+
await initialization.reader.resolveColumnMetadata(
|
|
23055
|
+
rawRowGroup,
|
|
23056
|
+
rowGroupIndex,
|
|
23057
|
+
getParquetPredicateColumns(predicate).map((column) => [column])
|
|
23058
|
+
);
|
|
23059
|
+
throwIfAborted2(signal);
|
|
23060
|
+
rowGroup = {
|
|
23061
|
+
...rowGroup,
|
|
23062
|
+
columns: rawRowGroup.columns.filter((columnChunk) => Boolean(columnChunk.meta_data)).map((columnChunk) => createColumnChunkMetadata(columnChunk, initialization.parquetSchema))
|
|
23063
|
+
};
|
|
23064
|
+
}
|
|
23051
23065
|
const probes = getParquetBloomFilterProbes(predicate, rowGroup);
|
|
23052
23066
|
let keepRowGroup = true;
|
|
23053
23067
|
for (const probe of probes) {
|