We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdbdf6f commit 770508aCopy full SHA for 770508a
src/operators.ts
@@ -1103,7 +1103,7 @@ export class DistinctOperator implements Operator {
1103
const kept: number[] = [];
1104
const cols = this.columns.length > 0 ? this.columns : (this._resolvedCols ??= Array.from(batch.columns.keys()));
1105
// Pre-extract column arrays to avoid Map.get per column per row
1106
- const colArrays: ((number | bigint | string | boolean | null)[] | undefined)[] = new Array(cols.length);
+ const colArrays: (DecodedValue[] | undefined)[] = new Array(cols.length);
1107
for (let g = 0; g < cols.length; g++) colArrays[g] = batch.columns.get(cols[g]) ?? undefined;
1108
1109
for (let ii = 0; ii < indices.length; ii++) {
0 commit comments