@uwdata/mosaic-inputs 0.3.3 → 0.3.5
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/mosaic-inputs.js +212 -226
- package/dist/mosaic-inputs.min.js +4 -4
- package/package.json +4 -4
package/dist/mosaic-inputs.js
CHANGED
|
@@ -4,7 +4,7 @@ var __export = (target, all2) => {
|
|
|
4
4
|
__defProp(target, name, { get: all2[name], enumerable: true });
|
|
5
5
|
};
|
|
6
6
|
|
|
7
|
-
// ../../node_modules/tslib/tslib.es6.
|
|
7
|
+
// ../../node_modules/apache-arrow/node_modules/tslib/tslib.es6.mjs
|
|
8
8
|
function __rest(s, e) {
|
|
9
9
|
var t = {};
|
|
10
10
|
for (var p in s)
|
|
@@ -131,7 +131,7 @@ function __asyncValues(o) {
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
//
|
|
134
|
+
// ../../node_modules/apache-arrow/util/buffer.mjs
|
|
135
135
|
var buffer_exports = {};
|
|
136
136
|
__export(buffer_exports, {
|
|
137
137
|
compareArrayLike: () => compareArrayLike,
|
|
@@ -172,53 +172,13 @@ __export(buffer_exports, {
|
|
|
172
172
|
toUint8ClampedArrayIterator: () => toUint8ClampedArrayIterator
|
|
173
173
|
});
|
|
174
174
|
|
|
175
|
-
//
|
|
175
|
+
// ../../node_modules/apache-arrow/util/utf8.mjs
|
|
176
176
|
var decoder = new TextDecoder("utf-8");
|
|
177
177
|
var decodeUtf8 = (buffer) => decoder.decode(buffer);
|
|
178
178
|
var encoder = new TextEncoder();
|
|
179
179
|
var encodeUtf8 = (value) => encoder.encode(value);
|
|
180
180
|
|
|
181
|
-
//
|
|
182
|
-
var [BigInt64ArrayCtor, BigInt64ArrayAvailable] = (() => {
|
|
183
|
-
const BigInt64ArrayUnavailableError = () => {
|
|
184
|
-
throw new Error("BigInt64Array is not available in this environment");
|
|
185
|
-
};
|
|
186
|
-
class BigInt64ArrayUnavailable {
|
|
187
|
-
static get BYTES_PER_ELEMENT() {
|
|
188
|
-
return 8;
|
|
189
|
-
}
|
|
190
|
-
static of() {
|
|
191
|
-
throw BigInt64ArrayUnavailableError();
|
|
192
|
-
}
|
|
193
|
-
static from() {
|
|
194
|
-
throw BigInt64ArrayUnavailableError();
|
|
195
|
-
}
|
|
196
|
-
constructor() {
|
|
197
|
-
throw BigInt64ArrayUnavailableError();
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
return typeof BigInt64Array !== "undefined" ? [BigInt64Array, true] : [BigInt64ArrayUnavailable, false];
|
|
201
|
-
})();
|
|
202
|
-
var [BigUint64ArrayCtor, BigUint64ArrayAvailable] = (() => {
|
|
203
|
-
const BigUint64ArrayUnavailableError = () => {
|
|
204
|
-
throw new Error("BigUint64Array is not available in this environment");
|
|
205
|
-
};
|
|
206
|
-
class BigUint64ArrayUnavailable {
|
|
207
|
-
static get BYTES_PER_ELEMENT() {
|
|
208
|
-
return 8;
|
|
209
|
-
}
|
|
210
|
-
static of() {
|
|
211
|
-
throw BigUint64ArrayUnavailableError();
|
|
212
|
-
}
|
|
213
|
-
static from() {
|
|
214
|
-
throw BigUint64ArrayUnavailableError();
|
|
215
|
-
}
|
|
216
|
-
constructor() {
|
|
217
|
-
throw BigUint64ArrayUnavailableError();
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
return typeof BigUint64Array !== "undefined" ? [BigUint64Array, true] : [BigUint64ArrayUnavailable, false];
|
|
221
|
-
})();
|
|
181
|
+
// ../../node_modules/apache-arrow/util/compat.mjs
|
|
222
182
|
var isNumber = (x) => typeof x === "number";
|
|
223
183
|
var isBoolean = (x) => typeof x === "boolean";
|
|
224
184
|
var isFunction = (x) => typeof x === "function";
|
|
@@ -261,7 +221,7 @@ var isFlatbuffersByteBuffer = (x) => {
|
|
|
261
221
|
return isObject(x) && isFunction(x["clear"]) && isFunction(x["bytes"]) && isFunction(x["position"]) && isFunction(x["setPosition"]) && isFunction(x["capacity"]) && isFunction(x["getBufferIdentifier"]) && isFunction(x["createLong"]);
|
|
262
222
|
};
|
|
263
223
|
|
|
264
|
-
//
|
|
224
|
+
// ../../node_modules/apache-arrow/util/buffer.mjs
|
|
265
225
|
var SharedArrayBuf = typeof SharedArrayBuffer !== "undefined" ? SharedArrayBuffer : ArrayBuffer;
|
|
266
226
|
function collapseContiguousByteRanges(chunks) {
|
|
267
227
|
const result = chunks[0] ? [chunks[0]] : [];
|
|
@@ -341,11 +301,11 @@ function toArrayBufferView(ArrayBufferViewCtor, input2) {
|
|
|
341
301
|
var toInt8Array = (input2) => toArrayBufferView(Int8Array, input2);
|
|
342
302
|
var toInt16Array = (input2) => toArrayBufferView(Int16Array, input2);
|
|
343
303
|
var toInt32Array = (input2) => toArrayBufferView(Int32Array, input2);
|
|
344
|
-
var toBigInt64Array = (input2) => toArrayBufferView(
|
|
304
|
+
var toBigInt64Array = (input2) => toArrayBufferView(BigInt64Array, input2);
|
|
345
305
|
var toUint8Array = (input2) => toArrayBufferView(Uint8Array, input2);
|
|
346
306
|
var toUint16Array = (input2) => toArrayBufferView(Uint16Array, input2);
|
|
347
307
|
var toUint32Array = (input2) => toArrayBufferView(Uint32Array, input2);
|
|
348
|
-
var toBigUint64Array = (input2) => toArrayBufferView(
|
|
308
|
+
var toBigUint64Array = (input2) => toArrayBufferView(BigUint64Array, input2);
|
|
349
309
|
var toFloat32Array = (input2) => toArrayBufferView(Float32Array, input2);
|
|
350
310
|
var toFloat64Array = (input2) => toArrayBufferView(Float64Array, input2);
|
|
351
311
|
var toUint8ClampedArray = (input2) => toArrayBufferView(Uint8ClampedArray, input2);
|
|
@@ -444,7 +404,7 @@ function compareArrayLike(a, b) {
|
|
|
444
404
|
return true;
|
|
445
405
|
}
|
|
446
406
|
|
|
447
|
-
//
|
|
407
|
+
// ../../node_modules/apache-arrow/io/adapters.mjs
|
|
448
408
|
var adapters_default = {
|
|
449
409
|
fromIterable(source) {
|
|
450
410
|
return pump2(fromIterable(source));
|
|
@@ -688,7 +648,7 @@ function fromNodeStream(stream) {
|
|
|
688
648
|
});
|
|
689
649
|
}
|
|
690
650
|
|
|
691
|
-
//
|
|
651
|
+
// ../../node_modules/apache-arrow/enum.mjs
|
|
692
652
|
var MetadataVersion;
|
|
693
653
|
(function(MetadataVersion3) {
|
|
694
654
|
MetadataVersion3[MetadataVersion3["V1"] = 0] = "V1";
|
|
@@ -790,7 +750,7 @@ var BufferType;
|
|
|
790
750
|
BufferType2[BufferType2["TYPE"] = 3] = "TYPE";
|
|
791
751
|
})(BufferType || (BufferType = {}));
|
|
792
752
|
|
|
793
|
-
//
|
|
753
|
+
// ../../node_modules/apache-arrow/util/vector.mjs
|
|
794
754
|
var vector_exports = {};
|
|
795
755
|
__export(vector_exports, {
|
|
796
756
|
clampIndex: () => clampIndex,
|
|
@@ -798,7 +758,7 @@ __export(vector_exports, {
|
|
|
798
758
|
createElementComparator: () => createElementComparator
|
|
799
759
|
});
|
|
800
760
|
|
|
801
|
-
//
|
|
761
|
+
// ../../node_modules/apache-arrow/util/pretty.mjs
|
|
802
762
|
var undf = void 0;
|
|
803
763
|
function valueToString(x) {
|
|
804
764
|
if (x === null) {
|
|
@@ -819,7 +779,7 @@ function valueToString(x) {
|
|
|
819
779
|
return x[Symbol.toPrimitive]("string");
|
|
820
780
|
}
|
|
821
781
|
if (ArrayBuffer.isView(x)) {
|
|
822
|
-
if (x instanceof
|
|
782
|
+
if (x instanceof BigInt64Array || x instanceof BigUint64Array) {
|
|
823
783
|
return `[${[...x].map((x2) => valueToString(x2))}]`;
|
|
824
784
|
}
|
|
825
785
|
return `[${x}]`;
|
|
@@ -827,12 +787,12 @@ function valueToString(x) {
|
|
|
827
787
|
return ArrayBuffer.isView(x) ? `[${x}]` : JSON.stringify(x, (_, y) => typeof y === "bigint" ? `${y}` : y);
|
|
828
788
|
}
|
|
829
789
|
|
|
830
|
-
//
|
|
790
|
+
// ../../node_modules/apache-arrow/util/bn.mjs
|
|
831
791
|
var bn_exports = {};
|
|
832
792
|
__export(bn_exports, {
|
|
833
793
|
BN: () => BN,
|
|
834
|
-
|
|
835
|
-
|
|
794
|
+
bigNumToBigInt: () => bigNumToBigInt,
|
|
795
|
+
bigNumToString: () => bigNumToString,
|
|
836
796
|
isArrowBigNumSymbol: () => isArrowBigNumSymbol
|
|
837
797
|
});
|
|
838
798
|
var isArrowBigNumSymbol = Symbol.for("isArrowBigNum");
|
|
@@ -844,24 +804,24 @@ function BigNum(x, ...xs) {
|
|
|
844
804
|
}
|
|
845
805
|
BigNum.prototype[isArrowBigNumSymbol] = true;
|
|
846
806
|
BigNum.prototype.toJSON = function() {
|
|
847
|
-
return `"${
|
|
807
|
+
return `"${bigNumToString(this)}"`;
|
|
848
808
|
};
|
|
849
809
|
BigNum.prototype.valueOf = function() {
|
|
850
|
-
return
|
|
810
|
+
return bigNumToNumber(this);
|
|
851
811
|
};
|
|
852
812
|
BigNum.prototype.toString = function() {
|
|
853
|
-
return
|
|
813
|
+
return bigNumToString(this);
|
|
854
814
|
};
|
|
855
815
|
BigNum.prototype[Symbol.toPrimitive] = function(hint = "default") {
|
|
856
816
|
switch (hint) {
|
|
857
817
|
case "number":
|
|
858
|
-
return
|
|
818
|
+
return bigNumToNumber(this);
|
|
859
819
|
case "string":
|
|
860
|
-
return
|
|
820
|
+
return bigNumToString(this);
|
|
861
821
|
case "default":
|
|
862
|
-
return
|
|
822
|
+
return bigNumToBigInt(this);
|
|
863
823
|
}
|
|
864
|
-
return
|
|
824
|
+
return bigNumToString(this);
|
|
865
825
|
};
|
|
866
826
|
function SignedBigNum(...args) {
|
|
867
827
|
return BigNum.apply(this, args);
|
|
@@ -875,13 +835,13 @@ function DecimalBigNum(...args) {
|
|
|
875
835
|
Object.setPrototypeOf(SignedBigNum.prototype, Object.create(Int32Array.prototype));
|
|
876
836
|
Object.setPrototypeOf(UnsignedBigNum.prototype, Object.create(Uint32Array.prototype));
|
|
877
837
|
Object.setPrototypeOf(DecimalBigNum.prototype, Object.create(Uint32Array.prototype));
|
|
878
|
-
Object.assign(SignedBigNum.prototype, BigNum.prototype, { "constructor": SignedBigNum, "signed": true, "TypedArray": Int32Array, "BigIntArray":
|
|
879
|
-
Object.assign(UnsignedBigNum.prototype, BigNum.prototype, { "constructor": UnsignedBigNum, "signed": false, "TypedArray": Uint32Array, "BigIntArray":
|
|
880
|
-
Object.assign(DecimalBigNum.prototype, BigNum.prototype, { "constructor": DecimalBigNum, "signed": true, "TypedArray": Uint32Array, "BigIntArray":
|
|
881
|
-
function
|
|
838
|
+
Object.assign(SignedBigNum.prototype, BigNum.prototype, { "constructor": SignedBigNum, "signed": true, "TypedArray": Int32Array, "BigIntArray": BigInt64Array });
|
|
839
|
+
Object.assign(UnsignedBigNum.prototype, BigNum.prototype, { "constructor": UnsignedBigNum, "signed": false, "TypedArray": Uint32Array, "BigIntArray": BigUint64Array });
|
|
840
|
+
Object.assign(DecimalBigNum.prototype, BigNum.prototype, { "constructor": DecimalBigNum, "signed": true, "TypedArray": Uint32Array, "BigIntArray": BigUint64Array });
|
|
841
|
+
function bigNumToNumber(bn) {
|
|
882
842
|
const { buffer, byteOffset, length: length2, "signed": signed } = bn;
|
|
883
|
-
const words = new
|
|
884
|
-
const negative = signed && words
|
|
843
|
+
const words = new BigUint64Array(buffer, byteOffset, length2);
|
|
844
|
+
const negative = signed && words.at(-1) & BigInt(1) << BigInt(63);
|
|
885
845
|
let number = negative ? BigInt(1) : BigInt(0);
|
|
886
846
|
let i = BigInt(0);
|
|
887
847
|
if (!negative) {
|
|
@@ -896,9 +856,39 @@ function bignumToNumber(bn) {
|
|
|
896
856
|
}
|
|
897
857
|
return number;
|
|
898
858
|
}
|
|
899
|
-
var
|
|
900
|
-
|
|
901
|
-
|
|
859
|
+
var bigNumToString = (a) => {
|
|
860
|
+
if (a.byteLength === 8) {
|
|
861
|
+
const bigIntArray = new a["BigIntArray"](a.buffer, a.byteOffset, 1);
|
|
862
|
+
return `${bigIntArray[0]}`;
|
|
863
|
+
}
|
|
864
|
+
if (!a["signed"]) {
|
|
865
|
+
return unsignedBigNumToString(a);
|
|
866
|
+
}
|
|
867
|
+
let array = new Uint16Array(a.buffer, a.byteOffset, a.byteLength / 2);
|
|
868
|
+
const highOrderWord = new Int16Array([array.at(-1)])[0];
|
|
869
|
+
if (highOrderWord >= 0) {
|
|
870
|
+
return unsignedBigNumToString(a);
|
|
871
|
+
}
|
|
872
|
+
array = array.slice();
|
|
873
|
+
let carry = 1;
|
|
874
|
+
for (let i = 0; i < array.length; i++) {
|
|
875
|
+
const elem = array[i];
|
|
876
|
+
const updated = ~elem + carry;
|
|
877
|
+
array[i] = updated;
|
|
878
|
+
carry &= elem === 0 ? 1 : 0;
|
|
879
|
+
}
|
|
880
|
+
const negated = unsignedBigNumToString(array);
|
|
881
|
+
return `-${negated}`;
|
|
882
|
+
};
|
|
883
|
+
var bigNumToBigInt = (a) => {
|
|
884
|
+
if (a.byteLength === 8) {
|
|
885
|
+
const bigIntArray = new a["BigIntArray"](a.buffer, a.byteOffset, 1);
|
|
886
|
+
return bigIntArray[0];
|
|
887
|
+
} else {
|
|
888
|
+
return bigNumToString(a);
|
|
889
|
+
}
|
|
890
|
+
};
|
|
891
|
+
function unsignedBigNumToString(a) {
|
|
902
892
|
let digits = "";
|
|
903
893
|
const base64 = new Uint32Array(2);
|
|
904
894
|
let base32 = new Uint16Array(a.buffer, a.byteOffset, a.byteLength / 2);
|
|
@@ -929,7 +919,7 @@ var BN = class _BN {
|
|
|
929
919
|
case Int8Array:
|
|
930
920
|
case Int16Array:
|
|
931
921
|
case Int32Array:
|
|
932
|
-
case
|
|
922
|
+
case BigInt64Array:
|
|
933
923
|
return new SignedBigNum(num);
|
|
934
924
|
}
|
|
935
925
|
if (num.byteLength === 16) {
|
|
@@ -954,7 +944,7 @@ var BN = class _BN {
|
|
|
954
944
|
}
|
|
955
945
|
};
|
|
956
946
|
|
|
957
|
-
//
|
|
947
|
+
// ../../node_modules/apache-arrow/util/bigint.mjs
|
|
958
948
|
function bigIntToNumber(number) {
|
|
959
949
|
if (typeof number === "bigint" && (number < Number.MIN_SAFE_INTEGER || number > Number.MAX_SAFE_INTEGER)) {
|
|
960
950
|
throw new TypeError(`${number} is not safe to convert to a number.`);
|
|
@@ -962,7 +952,7 @@ function bigIntToNumber(number) {
|
|
|
962
952
|
return Number(number);
|
|
963
953
|
}
|
|
964
954
|
|
|
965
|
-
//
|
|
955
|
+
// ../../node_modules/apache-arrow/type.mjs
|
|
966
956
|
var _a;
|
|
967
957
|
var _b;
|
|
968
958
|
var _c;
|
|
@@ -1101,7 +1091,7 @@ var Int_ = class extends DataType {
|
|
|
1101
1091
|
case 32:
|
|
1102
1092
|
return this.isSigned ? Int32Array : Uint32Array;
|
|
1103
1093
|
case 64:
|
|
1104
|
-
return this.isSigned ?
|
|
1094
|
+
return this.isSigned ? BigInt64Array : BigUint64Array;
|
|
1105
1095
|
}
|
|
1106
1096
|
throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`);
|
|
1107
1097
|
}
|
|
@@ -1144,7 +1134,7 @@ var Int64 = class extends Int_ {
|
|
|
1144
1134
|
super(true, 64);
|
|
1145
1135
|
}
|
|
1146
1136
|
get ArrayType() {
|
|
1147
|
-
return
|
|
1137
|
+
return BigInt64Array;
|
|
1148
1138
|
}
|
|
1149
1139
|
};
|
|
1150
1140
|
var Uint8 = class extends Int_ {
|
|
@@ -1176,17 +1166,17 @@ var Uint64 = class extends Int_ {
|
|
|
1176
1166
|
super(false, 64);
|
|
1177
1167
|
}
|
|
1178
1168
|
get ArrayType() {
|
|
1179
|
-
return
|
|
1169
|
+
return BigUint64Array;
|
|
1180
1170
|
}
|
|
1181
1171
|
};
|
|
1182
1172
|
Object.defineProperty(Int8.prototype, "ArrayType", { value: Int8Array });
|
|
1183
1173
|
Object.defineProperty(Int16.prototype, "ArrayType", { value: Int16Array });
|
|
1184
1174
|
Object.defineProperty(Int32.prototype, "ArrayType", { value: Int32Array });
|
|
1185
|
-
Object.defineProperty(Int64.prototype, "ArrayType", { value:
|
|
1175
|
+
Object.defineProperty(Int64.prototype, "ArrayType", { value: BigInt64Array });
|
|
1186
1176
|
Object.defineProperty(Uint8.prototype, "ArrayType", { value: Uint8Array });
|
|
1187
1177
|
Object.defineProperty(Uint16.prototype, "ArrayType", { value: Uint16Array });
|
|
1188
1178
|
Object.defineProperty(Uint32.prototype, "ArrayType", { value: Uint32Array });
|
|
1189
|
-
Object.defineProperty(Uint64.prototype, "ArrayType", { value:
|
|
1179
|
+
Object.defineProperty(Uint64.prototype, "ArrayType", { value: BigUint64Array });
|
|
1190
1180
|
var Float = class extends DataType {
|
|
1191
1181
|
constructor(precision) {
|
|
1192
1182
|
super();
|
|
@@ -1337,7 +1327,7 @@ var Time_ = class extends DataType {
|
|
|
1337
1327
|
case 32:
|
|
1338
1328
|
return Int32Array;
|
|
1339
1329
|
case 64:
|
|
1340
|
-
return
|
|
1330
|
+
return BigInt64Array;
|
|
1341
1331
|
}
|
|
1342
1332
|
throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`);
|
|
1343
1333
|
}
|
|
@@ -1527,7 +1517,7 @@ Map_[_t] = ((proto) => {
|
|
|
1527
1517
|
proto.keysSorted = null;
|
|
1528
1518
|
return proto[Symbol.toStringTag] = "Map_";
|
|
1529
1519
|
})(Map_.prototype);
|
|
1530
|
-
var getId = ((atomicDictionaryId) => () => ++atomicDictionaryId)(-1);
|
|
1520
|
+
var getId = /* @__PURE__ */ ((atomicDictionaryId) => () => ++atomicDictionaryId)(-1);
|
|
1531
1521
|
var Dictionary = class extends DataType {
|
|
1532
1522
|
constructor(dictionary, indices, id, isOrdered) {
|
|
1533
1523
|
super();
|
|
@@ -1580,7 +1570,7 @@ function strideForType(type) {
|
|
|
1580
1570
|
}
|
|
1581
1571
|
}
|
|
1582
1572
|
|
|
1583
|
-
//
|
|
1573
|
+
// ../../node_modules/apache-arrow/visitor.mjs
|
|
1584
1574
|
var Visitor = class {
|
|
1585
1575
|
visitMany(nodes, ...args) {
|
|
1586
1576
|
return nodes.map((node, i) => this.visit(node, ...args.map((x) => x[i])));
|
|
@@ -1928,7 +1918,7 @@ Visitor.prototype.visitSparseUnion = null;
|
|
|
1928
1918
|
Visitor.prototype.visitIntervalDayTime = null;
|
|
1929
1919
|
Visitor.prototype.visitIntervalYearMonth = null;
|
|
1930
1920
|
|
|
1931
|
-
//
|
|
1921
|
+
// ../../node_modules/apache-arrow/util/math.mjs
|
|
1932
1922
|
var math_exports = {};
|
|
1933
1923
|
__export(math_exports, {
|
|
1934
1924
|
float64ToUint16: () => float64ToUint16,
|
|
@@ -1973,7 +1963,7 @@ function float64ToUint16(d) {
|
|
|
1973
1963
|
return sign | expo | sigf & 65535;
|
|
1974
1964
|
}
|
|
1975
1965
|
|
|
1976
|
-
//
|
|
1966
|
+
// ../../node_modules/apache-arrow/visitor/set.mjs
|
|
1977
1967
|
var SetVisitor = class extends Visitor {
|
|
1978
1968
|
};
|
|
1979
1969
|
function wrapSet(fn) {
|
|
@@ -2204,7 +2194,7 @@ SetVisitor.prototype.visitFixedSizeList = wrapSet(setFixedSizeList);
|
|
|
2204
2194
|
SetVisitor.prototype.visitMap = wrapSet(setMap);
|
|
2205
2195
|
var instance = new SetVisitor();
|
|
2206
2196
|
|
|
2207
|
-
//
|
|
2197
|
+
// ../../node_modules/apache-arrow/row/struct.mjs
|
|
2208
2198
|
var kParent = Symbol.for("parent");
|
|
2209
2199
|
var kRowIndex = Symbol.for("rowIndex");
|
|
2210
2200
|
var StructRow = class {
|
|
@@ -2312,7 +2302,7 @@ var StructRowProxyHandler = class {
|
|
|
2312
2302
|
}
|
|
2313
2303
|
};
|
|
2314
2304
|
|
|
2315
|
-
//
|
|
2305
|
+
// ../../node_modules/apache-arrow/visitor/get.mjs
|
|
2316
2306
|
var GetVisitor = class extends Visitor {
|
|
2317
2307
|
};
|
|
2318
2308
|
function wrapGet(fn) {
|
|
@@ -2479,7 +2469,7 @@ GetVisitor.prototype.visitFixedSizeList = wrapGet(getFixedSizeList);
|
|
|
2479
2469
|
GetVisitor.prototype.visitMap = wrapGet(getMap);
|
|
2480
2470
|
var instance2 = new GetVisitor();
|
|
2481
2471
|
|
|
2482
|
-
//
|
|
2472
|
+
// ../../node_modules/apache-arrow/row/map.mjs
|
|
2483
2473
|
var kKeys = Symbol.for("keys");
|
|
2484
2474
|
var kVals = Symbol.for("vals");
|
|
2485
2475
|
var MapRow = class {
|
|
@@ -2589,7 +2579,7 @@ Object.defineProperties(MapRow.prototype, {
|
|
|
2589
2579
|
[kVals]: { writable: true, enumerable: false, configurable: false, value: null }
|
|
2590
2580
|
});
|
|
2591
2581
|
|
|
2592
|
-
//
|
|
2582
|
+
// ../../node_modules/apache-arrow/util/vector.mjs
|
|
2593
2583
|
function clampIndex(source, index, then) {
|
|
2594
2584
|
const length2 = source.length;
|
|
2595
2585
|
const adjust = index > -1 ? index : length2 + index % length2;
|
|
@@ -2731,7 +2721,7 @@ function compareObject(comparators, obj, keys) {
|
|
|
2731
2721
|
return false;
|
|
2732
2722
|
}
|
|
2733
2723
|
|
|
2734
|
-
//
|
|
2724
|
+
// ../../node_modules/apache-arrow/util/bit.mjs
|
|
2735
2725
|
var bit_exports = {};
|
|
2736
2726
|
__export(bit_exports, {
|
|
2737
2727
|
BitIterator: () => BitIterator,
|
|
@@ -2854,7 +2844,7 @@ function popcnt_uint32(uint32) {
|
|
|
2854
2844
|
return (i + (i >>> 4) & 252645135) * 16843009 >>> 24;
|
|
2855
2845
|
}
|
|
2856
2846
|
|
|
2857
|
-
//
|
|
2847
|
+
// ../../node_modules/apache-arrow/data.mjs
|
|
2858
2848
|
var kUnknownNullCount = -1;
|
|
2859
2849
|
var Data = class _Data {
|
|
2860
2850
|
get typeId() {
|
|
@@ -3113,7 +3103,7 @@ function makeData(props) {
|
|
|
3113
3103
|
return new MakeDataVisitor().visit(props);
|
|
3114
3104
|
}
|
|
3115
3105
|
|
|
3116
|
-
//
|
|
3106
|
+
// ../../node_modules/apache-arrow/util/chunk.mjs
|
|
3117
3107
|
var ChunkedIterator = class {
|
|
3118
3108
|
constructor(numChunks = 0, getChunkIterator) {
|
|
3119
3109
|
this.numChunks = numChunks;
|
|
@@ -3229,7 +3219,7 @@ function wrapChunkedIndexOf(indexOf) {
|
|
|
3229
3219
|
};
|
|
3230
3220
|
}
|
|
3231
3221
|
|
|
3232
|
-
//
|
|
3222
|
+
// ../../node_modules/apache-arrow/visitor/indexof.mjs
|
|
3233
3223
|
var IndexOfVisitor = class extends Visitor {
|
|
3234
3224
|
};
|
|
3235
3225
|
function nullIndexOf(data, searchElement) {
|
|
@@ -3320,7 +3310,7 @@ IndexOfVisitor.prototype.visitFixedSizeList = indexOfValue;
|
|
|
3320
3310
|
IndexOfVisitor.prototype.visitMap = indexOfValue;
|
|
3321
3311
|
var instance3 = new IndexOfVisitor();
|
|
3322
3312
|
|
|
3323
|
-
//
|
|
3313
|
+
// ../../node_modules/apache-arrow/visitor/iterator.mjs
|
|
3324
3314
|
var IteratorVisitor = class extends Visitor {
|
|
3325
3315
|
};
|
|
3326
3316
|
function vectorIterator(vector) {
|
|
@@ -3402,7 +3392,7 @@ IteratorVisitor.prototype.visitFixedSizeList = vectorIterator;
|
|
|
3402
3392
|
IteratorVisitor.prototype.visitMap = vectorIterator;
|
|
3403
3393
|
var instance4 = new IteratorVisitor();
|
|
3404
3394
|
|
|
3405
|
-
//
|
|
3395
|
+
// ../../node_modules/apache-arrow/visitor/bytelength.mjs
|
|
3406
3396
|
var sum = (x, y) => x + y;
|
|
3407
3397
|
var GetByteLengthVisitor = class extends Visitor {
|
|
3408
3398
|
visitNull(____, _) {
|
|
@@ -3493,7 +3483,7 @@ GetByteLengthVisitor.prototype.visitDenseUnion = getDenseUnionByteLength;
|
|
|
3493
3483
|
GetByteLengthVisitor.prototype.visitSparseUnion = getSparseUnionByteLength;
|
|
3494
3484
|
var instance5 = new GetByteLengthVisitor();
|
|
3495
3485
|
|
|
3496
|
-
//
|
|
3486
|
+
// ../../node_modules/apache-arrow/vector.mjs
|
|
3497
3487
|
var _a2;
|
|
3498
3488
|
var visitorsByTypeId = {};
|
|
3499
3489
|
var vectorPrototypesByTypeId = {};
|
|
@@ -3529,7 +3519,7 @@ var Vector = class _Vector {
|
|
|
3529
3519
|
this.type = type;
|
|
3530
3520
|
this.stride = strideForType(type);
|
|
3531
3521
|
this.numChildren = (_d2 = (_c2 = type.children) === null || _c2 === void 0 ? void 0 : _c2.length) !== null && _d2 !== void 0 ? _d2 : 0;
|
|
3532
|
-
this.length = this._offsets
|
|
3522
|
+
this.length = this._offsets.at(-1);
|
|
3533
3523
|
}
|
|
3534
3524
|
/**
|
|
3535
3525
|
* The aggregate size (in bytes) of this Vector's buffers and/or child Vectors.
|
|
@@ -3550,7 +3540,7 @@ var Vector = class _Vector {
|
|
|
3550
3540
|
return this._nullCount;
|
|
3551
3541
|
}
|
|
3552
3542
|
/**
|
|
3553
|
-
* The Array or
|
|
3543
|
+
* The Array or TypedArray constructor used for the JS representation
|
|
3554
3544
|
* of the element's values in {@link Vector.prototype.toArray `toArray()`}.
|
|
3555
3545
|
*/
|
|
3556
3546
|
get ArrayType() {
|
|
@@ -3810,7 +3800,7 @@ var MemoizedVector = class _MemoizedVector extends Vector {
|
|
|
3810
3800
|
}
|
|
3811
3801
|
};
|
|
3812
3802
|
|
|
3813
|
-
//
|
|
3803
|
+
// ../../node_modules/apache-arrow/builder/valid.mjs
|
|
3814
3804
|
function createIsValidFunction(nullValues) {
|
|
3815
3805
|
if (!nullValues || nullValues.length <= 0) {
|
|
3816
3806
|
return function isValid(value) {
|
|
@@ -3840,7 +3830,7 @@ function valueToCase(x) {
|
|
|
3840
3830
|
return `${valueToString(x)}n`;
|
|
3841
3831
|
}
|
|
3842
3832
|
|
|
3843
|
-
//
|
|
3833
|
+
// ../../node_modules/apache-arrow/builder/buffer.mjs
|
|
3844
3834
|
var roundLengthUpToNearest64Bytes = (len, BPE) => (Math.ceil(len) * BPE + 63 & ~63 || 64) / BPE;
|
|
3845
3835
|
var sliceOrExtendArray = (arr, len = 0) => arr.length >= len ? arr.subarray(0, len) : memcpy(new arr.constructor(len), arr, 0);
|
|
3846
3836
|
var BufferBuilder = class {
|
|
@@ -3954,7 +3944,7 @@ var OffsetsBufferBuilder = class extends DataBufferBuilder {
|
|
|
3954
3944
|
}
|
|
3955
3945
|
};
|
|
3956
3946
|
|
|
3957
|
-
//
|
|
3947
|
+
// ../../node_modules/apache-arrow/builder.mjs
|
|
3958
3948
|
var Builder = class {
|
|
3959
3949
|
/** @nocollapse */
|
|
3960
3950
|
// @ts-ignore
|
|
@@ -4221,7 +4211,7 @@ var VariableWidthBuilder = class extends Builder {
|
|
|
4221
4211
|
}
|
|
4222
4212
|
};
|
|
4223
4213
|
|
|
4224
|
-
//
|
|
4214
|
+
// ../../node_modules/apache-arrow/fb/block.mjs
|
|
4225
4215
|
var Block = class {
|
|
4226
4216
|
constructor() {
|
|
4227
4217
|
this.bb = null;
|
|
@@ -4264,26 +4254,26 @@ var Block = class {
|
|
|
4264
4254
|
}
|
|
4265
4255
|
};
|
|
4266
4256
|
|
|
4267
|
-
//
|
|
4257
|
+
// ../../node_modules/flatbuffers/mjs/constants.js
|
|
4268
4258
|
var SIZEOF_SHORT = 2;
|
|
4269
4259
|
var SIZEOF_INT = 4;
|
|
4270
4260
|
var FILE_IDENTIFIER_LENGTH = 4;
|
|
4271
4261
|
var SIZE_PREFIX_LENGTH = 4;
|
|
4272
4262
|
|
|
4273
|
-
//
|
|
4263
|
+
// ../../node_modules/flatbuffers/mjs/utils.js
|
|
4274
4264
|
var int32 = new Int32Array(2);
|
|
4275
4265
|
var float32 = new Float32Array(int32.buffer);
|
|
4276
4266
|
var float64 = new Float64Array(int32.buffer);
|
|
4277
4267
|
var isLittleEndian = new Uint16Array(new Uint8Array([1, 0]).buffer)[0] === 1;
|
|
4278
4268
|
|
|
4279
|
-
//
|
|
4269
|
+
// ../../node_modules/flatbuffers/mjs/encoding.js
|
|
4280
4270
|
var Encoding;
|
|
4281
4271
|
(function(Encoding2) {
|
|
4282
4272
|
Encoding2[Encoding2["UTF8_BYTES"] = 1] = "UTF8_BYTES";
|
|
4283
4273
|
Encoding2[Encoding2["UTF16_STRING"] = 2] = "UTF16_STRING";
|
|
4284
4274
|
})(Encoding || (Encoding = {}));
|
|
4285
4275
|
|
|
4286
|
-
//
|
|
4276
|
+
// ../../node_modules/flatbuffers/mjs/byte-buffer.js
|
|
4287
4277
|
var ByteBuffer = class _ByteBuffer {
|
|
4288
4278
|
/**
|
|
4289
4279
|
* Create a new ByteBuffer with a given array of bytes (`Uint8Array`)
|
|
@@ -4527,7 +4517,7 @@ var ByteBuffer = class _ByteBuffer {
|
|
|
4527
4517
|
}
|
|
4528
4518
|
};
|
|
4529
4519
|
|
|
4530
|
-
//
|
|
4520
|
+
// ../../node_modules/flatbuffers/mjs/builder.js
|
|
4531
4521
|
var Builder2 = class _Builder {
|
|
4532
4522
|
/**
|
|
4533
4523
|
* Create a FlatBufferBuilder.
|
|
@@ -4740,7 +4730,7 @@ var Builder2 = class _Builder {
|
|
|
4740
4730
|
*/
|
|
4741
4731
|
nested(obj) {
|
|
4742
4732
|
if (obj != this.offset()) {
|
|
4743
|
-
throw new
|
|
4733
|
+
throw new TypeError("FlatBuffers: struct must be serialized inline.");
|
|
4744
4734
|
}
|
|
4745
4735
|
}
|
|
4746
4736
|
/**
|
|
@@ -4749,7 +4739,7 @@ var Builder2 = class _Builder {
|
|
|
4749
4739
|
*/
|
|
4750
4740
|
notNested() {
|
|
4751
4741
|
if (this.isNested) {
|
|
4752
|
-
throw new
|
|
4742
|
+
throw new TypeError("FlatBuffers: object serialization must not be nested.");
|
|
4753
4743
|
}
|
|
4754
4744
|
}
|
|
4755
4745
|
/**
|
|
@@ -4870,7 +4860,7 @@ var Builder2 = class _Builder {
|
|
|
4870
4860
|
const file_identifier = opt_file_identifier;
|
|
4871
4861
|
this.prep(this.minalign, SIZEOF_INT + FILE_IDENTIFIER_LENGTH + size_prefix);
|
|
4872
4862
|
if (file_identifier.length != FILE_IDENTIFIER_LENGTH) {
|
|
4873
|
-
throw new
|
|
4863
|
+
throw new TypeError("FlatBuffers: file identifier must be length " + FILE_IDENTIFIER_LENGTH);
|
|
4874
4864
|
}
|
|
4875
4865
|
for (let i = FILE_IDENTIFIER_LENGTH - 1; i >= 0; i--) {
|
|
4876
4866
|
this.writeInt8(file_identifier.charCodeAt(i));
|
|
@@ -4898,7 +4888,7 @@ var Builder2 = class _Builder {
|
|
|
4898
4888
|
const vtable_start = table_start - this.bb.readInt32(table_start);
|
|
4899
4889
|
const ok = field < this.bb.readInt16(vtable_start) && this.bb.readInt16(vtable_start + field) != 0;
|
|
4900
4890
|
if (!ok) {
|
|
4901
|
-
throw new
|
|
4891
|
+
throw new TypeError("FlatBuffers: field " + field + " must be set");
|
|
4902
4892
|
}
|
|
4903
4893
|
}
|
|
4904
4894
|
/**
|
|
@@ -5000,7 +4990,7 @@ var Builder2 = class _Builder {
|
|
|
5000
4990
|
if (val !== null) {
|
|
5001
4991
|
ret.push(this.createObjectOffset(val));
|
|
5002
4992
|
} else {
|
|
5003
|
-
throw new
|
|
4993
|
+
throw new TypeError("FlatBuffers: Argument for createObjectOffsetList cannot contain null.");
|
|
5004
4994
|
}
|
|
5005
4995
|
}
|
|
5006
4996
|
return ret;
|
|
@@ -5012,7 +5002,7 @@ var Builder2 = class _Builder {
|
|
|
5012
5002
|
}
|
|
5013
5003
|
};
|
|
5014
5004
|
|
|
5015
|
-
//
|
|
5005
|
+
// ../../node_modules/apache-arrow/fb/key-value.mjs
|
|
5016
5006
|
var KeyValue = class _KeyValue {
|
|
5017
5007
|
constructor() {
|
|
5018
5008
|
this.bb = null;
|
|
@@ -5059,7 +5049,7 @@ var KeyValue = class _KeyValue {
|
|
|
5059
5049
|
}
|
|
5060
5050
|
};
|
|
5061
5051
|
|
|
5062
|
-
//
|
|
5052
|
+
// ../../node_modules/apache-arrow/fb/metadata-version.mjs
|
|
5063
5053
|
var MetadataVersion2;
|
|
5064
5054
|
(function(MetadataVersion3) {
|
|
5065
5055
|
MetadataVersion3[MetadataVersion3["V1"] = 0] = "V1";
|
|
@@ -5069,20 +5059,20 @@ var MetadataVersion2;
|
|
|
5069
5059
|
MetadataVersion3[MetadataVersion3["V5"] = 4] = "V5";
|
|
5070
5060
|
})(MetadataVersion2 || (MetadataVersion2 = {}));
|
|
5071
5061
|
|
|
5072
|
-
//
|
|
5062
|
+
// ../../node_modules/apache-arrow/fb/endianness.mjs
|
|
5073
5063
|
var Endianness;
|
|
5074
5064
|
(function(Endianness2) {
|
|
5075
5065
|
Endianness2[Endianness2["Little"] = 0] = "Little";
|
|
5076
5066
|
Endianness2[Endianness2["Big"] = 1] = "Big";
|
|
5077
5067
|
})(Endianness || (Endianness = {}));
|
|
5078
5068
|
|
|
5079
|
-
//
|
|
5069
|
+
// ../../node_modules/apache-arrow/fb/dictionary-kind.mjs
|
|
5080
5070
|
var DictionaryKind;
|
|
5081
5071
|
(function(DictionaryKind2) {
|
|
5082
5072
|
DictionaryKind2[DictionaryKind2["DenseArray"] = 0] = "DenseArray";
|
|
5083
5073
|
})(DictionaryKind || (DictionaryKind = {}));
|
|
5084
5074
|
|
|
5085
|
-
//
|
|
5075
|
+
// ../../node_modules/apache-arrow/fb/int.mjs
|
|
5086
5076
|
var Int = class _Int {
|
|
5087
5077
|
constructor() {
|
|
5088
5078
|
this.bb = null;
|
|
@@ -5129,7 +5119,7 @@ var Int = class _Int {
|
|
|
5129
5119
|
}
|
|
5130
5120
|
};
|
|
5131
5121
|
|
|
5132
|
-
//
|
|
5122
|
+
// ../../node_modules/apache-arrow/fb/dictionary-encoding.mjs
|
|
5133
5123
|
var DictionaryEncoding = class _DictionaryEncoding {
|
|
5134
5124
|
constructor() {
|
|
5135
5125
|
this.bb = null;
|
|
@@ -5202,7 +5192,7 @@ var DictionaryEncoding = class _DictionaryEncoding {
|
|
|
5202
5192
|
}
|
|
5203
5193
|
};
|
|
5204
5194
|
|
|
5205
|
-
//
|
|
5195
|
+
// ../../node_modules/apache-arrow/fb/binary.mjs
|
|
5206
5196
|
var Binary2 = class _Binary {
|
|
5207
5197
|
constructor() {
|
|
5208
5198
|
this.bb = null;
|
|
@@ -5233,7 +5223,7 @@ var Binary2 = class _Binary {
|
|
|
5233
5223
|
}
|
|
5234
5224
|
};
|
|
5235
5225
|
|
|
5236
|
-
//
|
|
5226
|
+
// ../../node_modules/apache-arrow/fb/bool.mjs
|
|
5237
5227
|
var Bool2 = class _Bool {
|
|
5238
5228
|
constructor() {
|
|
5239
5229
|
this.bb = null;
|
|
@@ -5264,14 +5254,14 @@ var Bool2 = class _Bool {
|
|
|
5264
5254
|
}
|
|
5265
5255
|
};
|
|
5266
5256
|
|
|
5267
|
-
//
|
|
5257
|
+
// ../../node_modules/apache-arrow/fb/date-unit.mjs
|
|
5268
5258
|
var DateUnit2;
|
|
5269
5259
|
(function(DateUnit3) {
|
|
5270
5260
|
DateUnit3[DateUnit3["DAY"] = 0] = "DAY";
|
|
5271
5261
|
DateUnit3[DateUnit3["MILLISECOND"] = 1] = "MILLISECOND";
|
|
5272
5262
|
})(DateUnit2 || (DateUnit2 = {}));
|
|
5273
5263
|
|
|
5274
|
-
//
|
|
5264
|
+
// ../../node_modules/apache-arrow/fb/date.mjs
|
|
5275
5265
|
var Date2 = class _Date {
|
|
5276
5266
|
constructor() {
|
|
5277
5267
|
this.bb = null;
|
|
@@ -5310,7 +5300,7 @@ var Date2 = class _Date {
|
|
|
5310
5300
|
}
|
|
5311
5301
|
};
|
|
5312
5302
|
|
|
5313
|
-
//
|
|
5303
|
+
// ../../node_modules/apache-arrow/fb/decimal.mjs
|
|
5314
5304
|
var Decimal2 = class _Decimal {
|
|
5315
5305
|
constructor() {
|
|
5316
5306
|
this.bb = null;
|
|
@@ -5375,7 +5365,7 @@ var Decimal2 = class _Decimal {
|
|
|
5375
5365
|
}
|
|
5376
5366
|
};
|
|
5377
5367
|
|
|
5378
|
-
//
|
|
5368
|
+
// ../../node_modules/apache-arrow/fb/time-unit.mjs
|
|
5379
5369
|
var TimeUnit2;
|
|
5380
5370
|
(function(TimeUnit3) {
|
|
5381
5371
|
TimeUnit3[TimeUnit3["SECOND"] = 0] = "SECOND";
|
|
@@ -5384,7 +5374,7 @@ var TimeUnit2;
|
|
|
5384
5374
|
TimeUnit3[TimeUnit3["NANOSECOND"] = 3] = "NANOSECOND";
|
|
5385
5375
|
})(TimeUnit2 || (TimeUnit2 = {}));
|
|
5386
5376
|
|
|
5387
|
-
//
|
|
5377
|
+
// ../../node_modules/apache-arrow/fb/fixed-size-binary.mjs
|
|
5388
5378
|
var FixedSizeBinary2 = class _FixedSizeBinary {
|
|
5389
5379
|
constructor() {
|
|
5390
5380
|
this.bb = null;
|
|
@@ -5426,7 +5416,7 @@ var FixedSizeBinary2 = class _FixedSizeBinary {
|
|
|
5426
5416
|
}
|
|
5427
5417
|
};
|
|
5428
5418
|
|
|
5429
|
-
//
|
|
5419
|
+
// ../../node_modules/apache-arrow/fb/fixed-size-list.mjs
|
|
5430
5420
|
var FixedSizeList2 = class _FixedSizeList {
|
|
5431
5421
|
constructor() {
|
|
5432
5422
|
this.bb = null;
|
|
@@ -5468,7 +5458,7 @@ var FixedSizeList2 = class _FixedSizeList {
|
|
|
5468
5458
|
}
|
|
5469
5459
|
};
|
|
5470
5460
|
|
|
5471
|
-
//
|
|
5461
|
+
// ../../node_modules/apache-arrow/fb/precision.mjs
|
|
5472
5462
|
var Precision2;
|
|
5473
5463
|
(function(Precision3) {
|
|
5474
5464
|
Precision3[Precision3["HALF"] = 0] = "HALF";
|
|
@@ -5476,7 +5466,7 @@ var Precision2;
|
|
|
5476
5466
|
Precision3[Precision3["DOUBLE"] = 2] = "DOUBLE";
|
|
5477
5467
|
})(Precision2 || (Precision2 = {}));
|
|
5478
5468
|
|
|
5479
|
-
//
|
|
5469
|
+
// ../../node_modules/apache-arrow/fb/floating-point.mjs
|
|
5480
5470
|
var FloatingPoint = class _FloatingPoint {
|
|
5481
5471
|
constructor() {
|
|
5482
5472
|
this.bb = null;
|
|
@@ -5515,7 +5505,7 @@ var FloatingPoint = class _FloatingPoint {
|
|
|
5515
5505
|
}
|
|
5516
5506
|
};
|
|
5517
5507
|
|
|
5518
|
-
//
|
|
5508
|
+
// ../../node_modules/apache-arrow/fb/interval-unit.mjs
|
|
5519
5509
|
var IntervalUnit2;
|
|
5520
5510
|
(function(IntervalUnit3) {
|
|
5521
5511
|
IntervalUnit3[IntervalUnit3["YEAR_MONTH"] = 0] = "YEAR_MONTH";
|
|
@@ -5523,7 +5513,7 @@ var IntervalUnit2;
|
|
|
5523
5513
|
IntervalUnit3[IntervalUnit3["MONTH_DAY_NANO"] = 2] = "MONTH_DAY_NANO";
|
|
5524
5514
|
})(IntervalUnit2 || (IntervalUnit2 = {}));
|
|
5525
5515
|
|
|
5526
|
-
//
|
|
5516
|
+
// ../../node_modules/apache-arrow/fb/interval.mjs
|
|
5527
5517
|
var Interval = class _Interval {
|
|
5528
5518
|
constructor() {
|
|
5529
5519
|
this.bb = null;
|
|
@@ -5562,7 +5552,7 @@ var Interval = class _Interval {
|
|
|
5562
5552
|
}
|
|
5563
5553
|
};
|
|
5564
5554
|
|
|
5565
|
-
//
|
|
5555
|
+
// ../../node_modules/apache-arrow/fb/list.mjs
|
|
5566
5556
|
var List2 = class _List {
|
|
5567
5557
|
constructor() {
|
|
5568
5558
|
this.bb = null;
|
|
@@ -5593,7 +5583,7 @@ var List2 = class _List {
|
|
|
5593
5583
|
}
|
|
5594
5584
|
};
|
|
5595
5585
|
|
|
5596
|
-
//
|
|
5586
|
+
// ../../node_modules/apache-arrow/fb/map.mjs
|
|
5597
5587
|
var Map2 = class _Map {
|
|
5598
5588
|
constructor() {
|
|
5599
5589
|
this.bb = null;
|
|
@@ -5635,7 +5625,7 @@ var Map2 = class _Map {
|
|
|
5635
5625
|
}
|
|
5636
5626
|
};
|
|
5637
5627
|
|
|
5638
|
-
//
|
|
5628
|
+
// ../../node_modules/apache-arrow/fb/null.mjs
|
|
5639
5629
|
var Null2 = class _Null {
|
|
5640
5630
|
constructor() {
|
|
5641
5631
|
this.bb = null;
|
|
@@ -5666,7 +5656,7 @@ var Null2 = class _Null {
|
|
|
5666
5656
|
}
|
|
5667
5657
|
};
|
|
5668
5658
|
|
|
5669
|
-
//
|
|
5659
|
+
// ../../node_modules/apache-arrow/fb/struct-.mjs
|
|
5670
5660
|
var Struct_ = class _Struct_ {
|
|
5671
5661
|
constructor() {
|
|
5672
5662
|
this.bb = null;
|
|
@@ -5697,7 +5687,7 @@ var Struct_ = class _Struct_ {
|
|
|
5697
5687
|
}
|
|
5698
5688
|
};
|
|
5699
5689
|
|
|
5700
|
-
//
|
|
5690
|
+
// ../../node_modules/apache-arrow/fb/time.mjs
|
|
5701
5691
|
var Time = class _Time {
|
|
5702
5692
|
constructor() {
|
|
5703
5693
|
this.bb = null;
|
|
@@ -5744,7 +5734,7 @@ var Time = class _Time {
|
|
|
5744
5734
|
}
|
|
5745
5735
|
};
|
|
5746
5736
|
|
|
5747
|
-
//
|
|
5737
|
+
// ../../node_modules/apache-arrow/fb/timestamp.mjs
|
|
5748
5738
|
var Timestamp = class _Timestamp {
|
|
5749
5739
|
constructor() {
|
|
5750
5740
|
this.bb = null;
|
|
@@ -5791,14 +5781,14 @@ var Timestamp = class _Timestamp {
|
|
|
5791
5781
|
}
|
|
5792
5782
|
};
|
|
5793
5783
|
|
|
5794
|
-
//
|
|
5784
|
+
// ../../node_modules/apache-arrow/fb/union-mode.mjs
|
|
5795
5785
|
var UnionMode2;
|
|
5796
5786
|
(function(UnionMode3) {
|
|
5797
5787
|
UnionMode3[UnionMode3["Sparse"] = 0] = "Sparse";
|
|
5798
5788
|
UnionMode3[UnionMode3["Dense"] = 1] = "Dense";
|
|
5799
5789
|
})(UnionMode2 || (UnionMode2 = {}));
|
|
5800
5790
|
|
|
5801
|
-
//
|
|
5791
|
+
// ../../node_modules/apache-arrow/fb/union.mjs
|
|
5802
5792
|
var Union = class _Union {
|
|
5803
5793
|
constructor() {
|
|
5804
5794
|
this.bb = null;
|
|
@@ -5863,7 +5853,7 @@ var Union = class _Union {
|
|
|
5863
5853
|
}
|
|
5864
5854
|
};
|
|
5865
5855
|
|
|
5866
|
-
//
|
|
5856
|
+
// ../../node_modules/apache-arrow/fb/utf8.mjs
|
|
5867
5857
|
var Utf82 = class _Utf8 {
|
|
5868
5858
|
constructor() {
|
|
5869
5859
|
this.bb = null;
|
|
@@ -5894,7 +5884,7 @@ var Utf82 = class _Utf8 {
|
|
|
5894
5884
|
}
|
|
5895
5885
|
};
|
|
5896
5886
|
|
|
5897
|
-
//
|
|
5887
|
+
// ../../node_modules/apache-arrow/fb/type.mjs
|
|
5898
5888
|
var Type2;
|
|
5899
5889
|
(function(Type3) {
|
|
5900
5890
|
Type3[Type3["NONE"] = 0] = "NONE";
|
|
@@ -5922,7 +5912,7 @@ var Type2;
|
|
|
5922
5912
|
Type3[Type3["RunEndEncoded"] = 22] = "RunEndEncoded";
|
|
5923
5913
|
})(Type2 || (Type2 = {}));
|
|
5924
5914
|
|
|
5925
|
-
//
|
|
5915
|
+
// ../../node_modules/apache-arrow/fb/field.mjs
|
|
5926
5916
|
var Field = class _Field {
|
|
5927
5917
|
constructor() {
|
|
5928
5918
|
this.bb = null;
|
|
@@ -6042,7 +6032,7 @@ var Field = class _Field {
|
|
|
6042
6032
|
}
|
|
6043
6033
|
};
|
|
6044
6034
|
|
|
6045
|
-
//
|
|
6035
|
+
// ../../node_modules/apache-arrow/fb/schema.mjs
|
|
6046
6036
|
var Schema = class _Schema {
|
|
6047
6037
|
constructor() {
|
|
6048
6038
|
this.bb = null;
|
|
@@ -6161,7 +6151,7 @@ var Schema = class _Schema {
|
|
|
6161
6151
|
}
|
|
6162
6152
|
};
|
|
6163
6153
|
|
|
6164
|
-
//
|
|
6154
|
+
// ../../node_modules/apache-arrow/fb/footer.mjs
|
|
6165
6155
|
var Footer = class _Footer {
|
|
6166
6156
|
constructor() {
|
|
6167
6157
|
this.bb = null;
|
|
@@ -6260,7 +6250,7 @@ var Footer = class _Footer {
|
|
|
6260
6250
|
}
|
|
6261
6251
|
};
|
|
6262
6252
|
|
|
6263
|
-
//
|
|
6253
|
+
// ../../node_modules/apache-arrow/schema.mjs
|
|
6264
6254
|
var Schema2 = class _Schema {
|
|
6265
6255
|
constructor(fields = [], metadata, dictionaries) {
|
|
6266
6256
|
this.fields = fields || [];
|
|
@@ -6375,7 +6365,7 @@ function generateDictionaryMap(fields, dictionaries = /* @__PURE__ */ new Map())
|
|
|
6375
6365
|
return dictionaries;
|
|
6376
6366
|
}
|
|
6377
6367
|
|
|
6378
|
-
//
|
|
6368
|
+
// ../../node_modules/apache-arrow/ipc/metadata/file.mjs
|
|
6379
6369
|
var Builder3 = Builder2;
|
|
6380
6370
|
var ByteBuffer2 = ByteBuffer;
|
|
6381
6371
|
var Footer_ = class {
|
|
@@ -6490,7 +6480,7 @@ var FileBlock = class _FileBlock {
|
|
|
6490
6480
|
}
|
|
6491
6481
|
};
|
|
6492
6482
|
|
|
6493
|
-
//
|
|
6483
|
+
// ../../node_modules/apache-arrow/io/interfaces.mjs
|
|
6494
6484
|
var ITERATOR_DONE = Object.freeze({ done: true, value: void 0 });
|
|
6495
6485
|
var ArrowJSON = class {
|
|
6496
6486
|
constructor(_json) {
|
|
@@ -6613,7 +6603,7 @@ var AsyncQueue = class extends ReadableInterop {
|
|
|
6613
6603
|
}
|
|
6614
6604
|
};
|
|
6615
6605
|
|
|
6616
|
-
//
|
|
6606
|
+
// ../../node_modules/apache-arrow/io/stream.mjs
|
|
6617
6607
|
var AsyncByteQueue = class extends AsyncQueue {
|
|
6618
6608
|
write(value) {
|
|
6619
6609
|
if ((value = toUint8Array(value)).byteLength > 0) {
|
|
@@ -6629,16 +6619,12 @@ var AsyncByteQueue = class extends AsyncQueue {
|
|
|
6629
6619
|
const buffers = [];
|
|
6630
6620
|
let byteLength = 0;
|
|
6631
6621
|
try {
|
|
6632
|
-
for (var _d2 = true, _e2 = __asyncValues(this), _f2; _f2 = yield _e2.next(), _a5 = _f2.done, !_a5; ) {
|
|
6622
|
+
for (var _d2 = true, _e2 = __asyncValues(this), _f2; _f2 = yield _e2.next(), _a5 = _f2.done, !_a5; _d2 = true) {
|
|
6633
6623
|
_c2 = _f2.value;
|
|
6634
6624
|
_d2 = false;
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
byteLength += chunk.byteLength;
|
|
6639
|
-
} finally {
|
|
6640
|
-
_d2 = true;
|
|
6641
|
-
}
|
|
6625
|
+
const chunk = _c2;
|
|
6626
|
+
buffers.push(chunk);
|
|
6627
|
+
byteLength += chunk.byteLength;
|
|
6642
6628
|
}
|
|
6643
6629
|
} catch (e_1_1) {
|
|
6644
6630
|
e_1 = { error: e_1_1 };
|
|
@@ -6794,7 +6780,7 @@ var AsyncByteStreamSource = class {
|
|
|
6794
6780
|
}
|
|
6795
6781
|
};
|
|
6796
6782
|
|
|
6797
|
-
//
|
|
6783
|
+
// ../../node_modules/apache-arrow/io/file.mjs
|
|
6798
6784
|
var RandomAccessFile = class extends ByteStream {
|
|
6799
6785
|
constructor(buffer, byteLength) {
|
|
6800
6786
|
super();
|
|
@@ -6917,7 +6903,7 @@ var AsyncRandomAccessFile = class extends AsyncByteStream {
|
|
|
6917
6903
|
}
|
|
6918
6904
|
};
|
|
6919
6905
|
|
|
6920
|
-
//
|
|
6906
|
+
// ../../node_modules/apache-arrow/util/int.mjs
|
|
6921
6907
|
var int_exports = {};
|
|
6922
6908
|
__export(int_exports, {
|
|
6923
6909
|
BaseInt64: () => BaseInt64,
|
|
@@ -7233,7 +7219,7 @@ var Int128 = class _Int128 {
|
|
|
7233
7219
|
}
|
|
7234
7220
|
};
|
|
7235
7221
|
|
|
7236
|
-
//
|
|
7222
|
+
// ../../node_modules/apache-arrow/visitor/vectorloader.mjs
|
|
7237
7223
|
var VectorLoader = class extends Visitor {
|
|
7238
7224
|
constructor(bytes, nodes, buffers, dictionaries) {
|
|
7239
7225
|
super();
|
|
@@ -7372,7 +7358,7 @@ function binaryDataFromJSON(values) {
|
|
|
7372
7358
|
return data;
|
|
7373
7359
|
}
|
|
7374
7360
|
|
|
7375
|
-
//
|
|
7361
|
+
// ../../node_modules/apache-arrow/builder/binary.mjs
|
|
7376
7362
|
var BinaryBuilder = class extends VariableWidthBuilder {
|
|
7377
7363
|
constructor(opts) {
|
|
7378
7364
|
super(opts);
|
|
@@ -7405,7 +7391,7 @@ var BinaryBuilder = class extends VariableWidthBuilder {
|
|
|
7405
7391
|
}
|
|
7406
7392
|
};
|
|
7407
7393
|
|
|
7408
|
-
//
|
|
7394
|
+
// ../../node_modules/apache-arrow/builder/bool.mjs
|
|
7409
7395
|
var BoolBuilder = class extends Builder {
|
|
7410
7396
|
constructor(options) {
|
|
7411
7397
|
super(options);
|
|
@@ -7416,7 +7402,7 @@ var BoolBuilder = class extends Builder {
|
|
|
7416
7402
|
}
|
|
7417
7403
|
};
|
|
7418
7404
|
|
|
7419
|
-
//
|
|
7405
|
+
// ../../node_modules/apache-arrow/builder/date.mjs
|
|
7420
7406
|
var DateBuilder = class extends FixedWidthBuilder {
|
|
7421
7407
|
};
|
|
7422
7408
|
DateBuilder.prototype._setValue = setDate;
|
|
@@ -7427,12 +7413,12 @@ var DateMillisecondBuilder = class extends DateBuilder {
|
|
|
7427
7413
|
};
|
|
7428
7414
|
DateMillisecondBuilder.prototype._setValue = setDateMillisecond;
|
|
7429
7415
|
|
|
7430
|
-
//
|
|
7416
|
+
// ../../node_modules/apache-arrow/builder/decimal.mjs
|
|
7431
7417
|
var DecimalBuilder = class extends FixedWidthBuilder {
|
|
7432
7418
|
};
|
|
7433
7419
|
DecimalBuilder.prototype._setValue = setDecimal;
|
|
7434
7420
|
|
|
7435
|
-
//
|
|
7421
|
+
// ../../node_modules/apache-arrow/builder/dictionary.mjs
|
|
7436
7422
|
var DictionaryBuilder = class extends Builder {
|
|
7437
7423
|
constructor({ "type": type, "nullValues": nulls, "dictionaryHashFunction": hashFn }) {
|
|
7438
7424
|
super({ type: new Dictionary(type.dictionary, type.indices, type.id, type.isOrdered) });
|
|
@@ -7509,12 +7495,12 @@ var DictionaryBuilder = class extends Builder {
|
|
|
7509
7495
|
}
|
|
7510
7496
|
};
|
|
7511
7497
|
|
|
7512
|
-
//
|
|
7498
|
+
// ../../node_modules/apache-arrow/builder/fixedsizebinary.mjs
|
|
7513
7499
|
var FixedSizeBinaryBuilder = class extends FixedWidthBuilder {
|
|
7514
7500
|
};
|
|
7515
7501
|
FixedSizeBinaryBuilder.prototype._setValue = setFixedSizeBinary;
|
|
7516
7502
|
|
|
7517
|
-
//
|
|
7503
|
+
// ../../node_modules/apache-arrow/builder/fixedsizelist.mjs
|
|
7518
7504
|
var FixedSizeListBuilder = class extends Builder {
|
|
7519
7505
|
setValue(index, value) {
|
|
7520
7506
|
const [child] = this.children;
|
|
@@ -7533,7 +7519,7 @@ var FixedSizeListBuilder = class extends Builder {
|
|
|
7533
7519
|
}
|
|
7534
7520
|
};
|
|
7535
7521
|
|
|
7536
|
-
//
|
|
7522
|
+
// ../../node_modules/apache-arrow/builder/float.mjs
|
|
7537
7523
|
var FloatBuilder = class extends FixedWidthBuilder {
|
|
7538
7524
|
setValue(index, value) {
|
|
7539
7525
|
this._values.set(index, value);
|
|
@@ -7549,7 +7535,7 @@ var Float32Builder = class extends FloatBuilder {
|
|
|
7549
7535
|
var Float64Builder = class extends FloatBuilder {
|
|
7550
7536
|
};
|
|
7551
7537
|
|
|
7552
|
-
//
|
|
7538
|
+
// ../../node_modules/apache-arrow/builder/interval.mjs
|
|
7553
7539
|
var IntervalBuilder = class extends FixedWidthBuilder {
|
|
7554
7540
|
};
|
|
7555
7541
|
IntervalBuilder.prototype._setValue = setIntervalValue;
|
|
@@ -7560,7 +7546,7 @@ var IntervalYearMonthBuilder = class extends IntervalBuilder {
|
|
|
7560
7546
|
};
|
|
7561
7547
|
IntervalYearMonthBuilder.prototype._setValue = setIntervalYearMonth;
|
|
7562
7548
|
|
|
7563
|
-
//
|
|
7549
|
+
// ../../node_modules/apache-arrow/builder/int.mjs
|
|
7564
7550
|
var IntBuilder = class extends FixedWidthBuilder {
|
|
7565
7551
|
setValue(index, value) {
|
|
7566
7552
|
this._values.set(index, value);
|
|
@@ -7583,7 +7569,7 @@ var Uint32Builder = class extends IntBuilder {
|
|
|
7583
7569
|
var Uint64Builder = class extends IntBuilder {
|
|
7584
7570
|
};
|
|
7585
7571
|
|
|
7586
|
-
//
|
|
7572
|
+
// ../../node_modules/apache-arrow/builder/list.mjs
|
|
7587
7573
|
var ListBuilder = class extends VariableWidthBuilder {
|
|
7588
7574
|
constructor(opts) {
|
|
7589
7575
|
super(opts);
|
|
@@ -7604,17 +7590,18 @@ var ListBuilder = class extends VariableWidthBuilder {
|
|
|
7604
7590
|
if (typeof value === "undefined") {
|
|
7605
7591
|
offsets.set(index, 0);
|
|
7606
7592
|
} else {
|
|
7607
|
-
const
|
|
7593
|
+
const v = value;
|
|
7594
|
+
const n = v.length;
|
|
7608
7595
|
const start = offsets.set(index, n).buffer[index];
|
|
7609
7596
|
for (let i = -1; ++i < n; ) {
|
|
7610
|
-
child.set(start + i,
|
|
7597
|
+
child.set(start + i, v[i]);
|
|
7611
7598
|
}
|
|
7612
7599
|
}
|
|
7613
7600
|
}
|
|
7614
7601
|
}
|
|
7615
7602
|
};
|
|
7616
7603
|
|
|
7617
|
-
//
|
|
7604
|
+
// ../../node_modules/apache-arrow/builder/map.mjs
|
|
7618
7605
|
var MapBuilder = class extends VariableWidthBuilder {
|
|
7619
7606
|
set(index, value) {
|
|
7620
7607
|
return super.set(index, value);
|
|
@@ -7653,7 +7640,7 @@ var MapBuilder = class extends VariableWidthBuilder {
|
|
|
7653
7640
|
}
|
|
7654
7641
|
};
|
|
7655
7642
|
|
|
7656
|
-
//
|
|
7643
|
+
// ../../node_modules/apache-arrow/builder/null.mjs
|
|
7657
7644
|
var NullBuilder = class extends Builder {
|
|
7658
7645
|
// @ts-ignore
|
|
7659
7646
|
setValue(index, value) {
|
|
@@ -7664,7 +7651,7 @@ var NullBuilder = class extends Builder {
|
|
|
7664
7651
|
}
|
|
7665
7652
|
};
|
|
7666
7653
|
|
|
7667
|
-
//
|
|
7654
|
+
// ../../node_modules/apache-arrow/builder/struct.mjs
|
|
7668
7655
|
var StructBuilder = class extends Builder {
|
|
7669
7656
|
setValue(index, value) {
|
|
7670
7657
|
const { children, type } = this;
|
|
@@ -7691,7 +7678,7 @@ var StructBuilder = class extends Builder {
|
|
|
7691
7678
|
}
|
|
7692
7679
|
};
|
|
7693
7680
|
|
|
7694
|
-
//
|
|
7681
|
+
// ../../node_modules/apache-arrow/builder/timestamp.mjs
|
|
7695
7682
|
var TimestampBuilder = class extends FixedWidthBuilder {
|
|
7696
7683
|
};
|
|
7697
7684
|
TimestampBuilder.prototype._setValue = setTimestamp;
|
|
@@ -7708,7 +7695,7 @@ var TimestampNanosecondBuilder = class extends TimestampBuilder {
|
|
|
7708
7695
|
};
|
|
7709
7696
|
TimestampNanosecondBuilder.prototype._setValue = setTimestampNanosecond;
|
|
7710
7697
|
|
|
7711
|
-
//
|
|
7698
|
+
// ../../node_modules/apache-arrow/builder/time.mjs
|
|
7712
7699
|
var TimeBuilder = class extends FixedWidthBuilder {
|
|
7713
7700
|
};
|
|
7714
7701
|
TimeBuilder.prototype._setValue = setTime;
|
|
@@ -7725,7 +7712,7 @@ var TimeNanosecondBuilder = class extends TimeBuilder {
|
|
|
7725
7712
|
};
|
|
7726
7713
|
TimeNanosecondBuilder.prototype._setValue = setTimeNanosecond;
|
|
7727
7714
|
|
|
7728
|
-
//
|
|
7715
|
+
// ../../node_modules/apache-arrow/builder/union.mjs
|
|
7729
7716
|
var UnionBuilder = class extends Builder {
|
|
7730
7717
|
constructor(options) {
|
|
7731
7718
|
super(options);
|
|
@@ -7784,7 +7771,7 @@ var DenseUnionBuilder = class extends UnionBuilder {
|
|
|
7784
7771
|
}
|
|
7785
7772
|
};
|
|
7786
7773
|
|
|
7787
|
-
//
|
|
7774
|
+
// ../../node_modules/apache-arrow/builder/utf8.mjs
|
|
7788
7775
|
var Utf8Builder = class extends VariableWidthBuilder {
|
|
7789
7776
|
constructor(opts) {
|
|
7790
7777
|
super(opts);
|
|
@@ -7806,7 +7793,7 @@ var Utf8Builder = class extends VariableWidthBuilder {
|
|
|
7806
7793
|
};
|
|
7807
7794
|
Utf8Builder.prototype._flushPending = BinaryBuilder.prototype._flushPending;
|
|
7808
7795
|
|
|
7809
|
-
//
|
|
7796
|
+
// ../../node_modules/apache-arrow/visitor/builderctor.mjs
|
|
7810
7797
|
var GetBuilderCtor = class extends Visitor {
|
|
7811
7798
|
visitNull() {
|
|
7812
7799
|
return NullBuilder;
|
|
@@ -7940,7 +7927,7 @@ var GetBuilderCtor = class extends Visitor {
|
|
|
7940
7927
|
};
|
|
7941
7928
|
var instance6 = new GetBuilderCtor();
|
|
7942
7929
|
|
|
7943
|
-
//
|
|
7930
|
+
// ../../node_modules/apache-arrow/visitor/typecomparator.mjs
|
|
7944
7931
|
var TypeComparator = class extends Visitor {
|
|
7945
7932
|
compareSchemas(schema, other) {
|
|
7946
7933
|
return schema === other || other instanceof schema.constructor && this.compareManyFields(schema.fields, other.fields);
|
|
@@ -8051,7 +8038,7 @@ function compareTypes(type, other) {
|
|
|
8051
8038
|
return instance7.visit(type, other);
|
|
8052
8039
|
}
|
|
8053
8040
|
|
|
8054
|
-
//
|
|
8041
|
+
// ../../node_modules/apache-arrow/factories.mjs
|
|
8055
8042
|
function makeBuilder(options) {
|
|
8056
8043
|
const type = options.type;
|
|
8057
8044
|
const builder = new (instance6.getVisitFn(type)())(options);
|
|
@@ -8068,7 +8055,7 @@ function makeBuilder(options) {
|
|
|
8068
8055
|
return builder;
|
|
8069
8056
|
}
|
|
8070
8057
|
|
|
8071
|
-
//
|
|
8058
|
+
// ../../node_modules/apache-arrow/util/recordbatch.mjs
|
|
8072
8059
|
function distributeVectorsIntoRecordBatches(schema, vecs) {
|
|
8073
8060
|
return uniformlyDistributeChunksAcrossRecordBatches(schema, vecs.map((v) => v.data.concat()));
|
|
8074
8061
|
}
|
|
@@ -8129,7 +8116,7 @@ function distributeChildren(fields, batchLength, children, columns, memo) {
|
|
|
8129
8116
|
return children;
|
|
8130
8117
|
}
|
|
8131
8118
|
|
|
8132
|
-
//
|
|
8119
|
+
// ../../node_modules/apache-arrow/table.mjs
|
|
8133
8120
|
var _a3;
|
|
8134
8121
|
var Table = class _Table {
|
|
8135
8122
|
constructor(...args) {
|
|
@@ -8145,7 +8132,7 @@ var Table = class _Table {
|
|
|
8145
8132
|
if (args[0] instanceof Schema2) {
|
|
8146
8133
|
schema = args.shift();
|
|
8147
8134
|
}
|
|
8148
|
-
if (args
|
|
8135
|
+
if (args.at(-1) instanceof Uint32Array) {
|
|
8149
8136
|
offsets = args.pop();
|
|
8150
8137
|
}
|
|
8151
8138
|
const unwrap = (x) => {
|
|
@@ -8413,7 +8400,7 @@ Table[_a3] = ((proto) => {
|
|
|
8413
8400
|
return "Table";
|
|
8414
8401
|
})(Table.prototype);
|
|
8415
8402
|
|
|
8416
|
-
//
|
|
8403
|
+
// ../../node_modules/apache-arrow/recordbatch.mjs
|
|
8417
8404
|
var _a4;
|
|
8418
8405
|
var RecordBatch = class _RecordBatch {
|
|
8419
8406
|
constructor(...args) {
|
|
@@ -8675,20 +8662,20 @@ var _InternalEmptyPlaceholderRecordBatch = class extends RecordBatch {
|
|
|
8675
8662
|
}
|
|
8676
8663
|
};
|
|
8677
8664
|
|
|
8678
|
-
//
|
|
8665
|
+
// ../../node_modules/apache-arrow/fb/body-compression-method.mjs
|
|
8679
8666
|
var BodyCompressionMethod;
|
|
8680
8667
|
(function(BodyCompressionMethod2) {
|
|
8681
8668
|
BodyCompressionMethod2[BodyCompressionMethod2["BUFFER"] = 0] = "BUFFER";
|
|
8682
8669
|
})(BodyCompressionMethod || (BodyCompressionMethod = {}));
|
|
8683
8670
|
|
|
8684
|
-
//
|
|
8671
|
+
// ../../node_modules/apache-arrow/fb/compression-type.mjs
|
|
8685
8672
|
var CompressionType;
|
|
8686
8673
|
(function(CompressionType2) {
|
|
8687
8674
|
CompressionType2[CompressionType2["LZ4_FRAME"] = 0] = "LZ4_FRAME";
|
|
8688
8675
|
CompressionType2[CompressionType2["ZSTD"] = 1] = "ZSTD";
|
|
8689
8676
|
})(CompressionType || (CompressionType = {}));
|
|
8690
8677
|
|
|
8691
|
-
//
|
|
8678
|
+
// ../../node_modules/apache-arrow/fb/body-compression.mjs
|
|
8692
8679
|
var BodyCompression = class _BodyCompression {
|
|
8693
8680
|
constructor() {
|
|
8694
8681
|
this.bb = null;
|
|
@@ -8742,7 +8729,7 @@ var BodyCompression = class _BodyCompression {
|
|
|
8742
8729
|
}
|
|
8743
8730
|
};
|
|
8744
8731
|
|
|
8745
|
-
//
|
|
8732
|
+
// ../../node_modules/apache-arrow/fb/buffer.mjs
|
|
8746
8733
|
var Buffer2 = class {
|
|
8747
8734
|
constructor() {
|
|
8748
8735
|
this.bb = null;
|
|
@@ -8781,7 +8768,7 @@ var Buffer2 = class {
|
|
|
8781
8768
|
}
|
|
8782
8769
|
};
|
|
8783
8770
|
|
|
8784
|
-
//
|
|
8771
|
+
// ../../node_modules/apache-arrow/fb/field-node.mjs
|
|
8785
8772
|
var FieldNode = class {
|
|
8786
8773
|
constructor() {
|
|
8787
8774
|
this.bb = null;
|
|
@@ -8818,7 +8805,7 @@ var FieldNode = class {
|
|
|
8818
8805
|
}
|
|
8819
8806
|
};
|
|
8820
8807
|
|
|
8821
|
-
//
|
|
8808
|
+
// ../../node_modules/apache-arrow/fb/record-batch.mjs
|
|
8822
8809
|
var RecordBatch2 = class _RecordBatch {
|
|
8823
8810
|
constructor() {
|
|
8824
8811
|
this.bb = null;
|
|
@@ -8905,7 +8892,7 @@ var RecordBatch2 = class _RecordBatch {
|
|
|
8905
8892
|
}
|
|
8906
8893
|
};
|
|
8907
8894
|
|
|
8908
|
-
//
|
|
8895
|
+
// ../../node_modules/apache-arrow/fb/dictionary-batch.mjs
|
|
8909
8896
|
var DictionaryBatch = class _DictionaryBatch {
|
|
8910
8897
|
constructor() {
|
|
8911
8898
|
this.bb = null;
|
|
@@ -8958,7 +8945,7 @@ var DictionaryBatch = class _DictionaryBatch {
|
|
|
8958
8945
|
}
|
|
8959
8946
|
};
|
|
8960
8947
|
|
|
8961
|
-
//
|
|
8948
|
+
// ../../node_modules/apache-arrow/fb/message-header.mjs
|
|
8962
8949
|
var MessageHeader2;
|
|
8963
8950
|
(function(MessageHeader3) {
|
|
8964
8951
|
MessageHeader3[MessageHeader3["NONE"] = 0] = "NONE";
|
|
@@ -8969,7 +8956,7 @@ var MessageHeader2;
|
|
|
8969
8956
|
MessageHeader3[MessageHeader3["SparseTensor"] = 5] = "SparseTensor";
|
|
8970
8957
|
})(MessageHeader2 || (MessageHeader2 = {}));
|
|
8971
8958
|
|
|
8972
|
-
//
|
|
8959
|
+
// ../../node_modules/apache-arrow/fb/message.mjs
|
|
8973
8960
|
var Message = class _Message {
|
|
8974
8961
|
constructor() {
|
|
8975
8962
|
this.bb = null;
|
|
@@ -9060,7 +9047,7 @@ var Message = class _Message {
|
|
|
9060
9047
|
}
|
|
9061
9048
|
};
|
|
9062
9049
|
|
|
9063
|
-
//
|
|
9050
|
+
// ../../node_modules/apache-arrow/visitor/typeassembler.mjs
|
|
9064
9051
|
var TypeAssembler = class extends Visitor {
|
|
9065
9052
|
visit(node, builder) {
|
|
9066
9053
|
return node == null || builder == null ? void 0 : super.visit(node, builder);
|
|
@@ -9168,7 +9155,7 @@ var TypeAssembler = class extends Visitor {
|
|
|
9168
9155
|
};
|
|
9169
9156
|
var instance8 = new TypeAssembler();
|
|
9170
9157
|
|
|
9171
|
-
//
|
|
9158
|
+
// ../../node_modules/apache-arrow/ipc/metadata/json.mjs
|
|
9172
9159
|
function schemaFromJSON(_schema, dictionaries = /* @__PURE__ */ new Map()) {
|
|
9173
9160
|
return new Schema2(schemaFieldsFromJSON(_schema, dictionaries), customMetadataFromJSON(_schema["customMetadata"]), dictionaries);
|
|
9174
9161
|
}
|
|
@@ -9302,7 +9289,7 @@ function typeFromJSON(f, children) {
|
|
|
9302
9289
|
throw new Error(`Unrecognized type: "${typeId}"`);
|
|
9303
9290
|
}
|
|
9304
9291
|
|
|
9305
|
-
//
|
|
9292
|
+
// ../../node_modules/apache-arrow/ipc/metadata/message.mjs
|
|
9306
9293
|
var Builder4 = Builder2;
|
|
9307
9294
|
var ByteBuffer3 = ByteBuffer;
|
|
9308
9295
|
var Message2 = class _Message {
|
|
@@ -9746,7 +9733,7 @@ var platformIsLittleEndian = (() => {
|
|
|
9746
9733
|
return new Int16Array(buffer)[0] === 256;
|
|
9747
9734
|
})();
|
|
9748
9735
|
|
|
9749
|
-
//
|
|
9736
|
+
// ../../node_modules/apache-arrow/ipc/message.mjs
|
|
9750
9737
|
var invalidMessageType = (type) => `Expected ${MessageHeader[type]} Message in stream, but was null or length 0.`;
|
|
9751
9738
|
var nullMessage = (type) => `Header pointer of flatbuffer-encoded ${MessageHeader[type]} Message is null or length 0.`;
|
|
9752
9739
|
var invalidMessageMetadata = (expected, actual) => `Expected to read ${expected} metadata bytes, but only read ${actual}.`;
|
|
@@ -10001,7 +9988,7 @@ var magicLength = MAGIC.length;
|
|
|
10001
9988
|
var magicAndPadding = magicLength + PADDING;
|
|
10002
9989
|
var magicX2AndPadding = magicLength * 2 + PADDING;
|
|
10003
9990
|
|
|
10004
|
-
//
|
|
9991
|
+
// ../../node_modules/apache-arrow/ipc/reader.mjs
|
|
10005
9992
|
var RecordBatchReader = class _RecordBatchReader extends ReadableInterop {
|
|
10006
9993
|
constructor(impl) {
|
|
10007
9994
|
super();
|
|
@@ -10140,15 +10127,11 @@ var AsyncRecordBatchStreamReader = class extends RecordBatchReader {
|
|
|
10140
10127
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10141
10128
|
const batches = new Array();
|
|
10142
10129
|
try {
|
|
10143
|
-
for (var _d2 = true, _e2 = __asyncValues(this), _f2; _f2 = yield _e2.next(), _a5 = _f2.done, !_a5; ) {
|
|
10130
|
+
for (var _d2 = true, _e2 = __asyncValues(this), _f2; _f2 = yield _e2.next(), _a5 = _f2.done, !_a5; _d2 = true) {
|
|
10144
10131
|
_c2 = _f2.value;
|
|
10145
10132
|
_d2 = false;
|
|
10146
|
-
|
|
10147
|
-
|
|
10148
|
-
batches.push(batch);
|
|
10149
|
-
} finally {
|
|
10150
|
-
_d2 = true;
|
|
10151
|
-
}
|
|
10133
|
+
const batch = _c2;
|
|
10134
|
+
batches.push(batch);
|
|
10152
10135
|
}
|
|
10153
10136
|
} catch (e_1_1) {
|
|
10154
10137
|
e_1 = { error: e_1_1 };
|
|
@@ -10619,7 +10602,7 @@ function fromArrowJSON(source) {
|
|
|
10619
10602
|
}
|
|
10620
10603
|
function fromByteStream(source) {
|
|
10621
10604
|
const bytes = source.peek(magicLength + 7 & ~7);
|
|
10622
|
-
return bytes && bytes.byteLength >= 4 ? !checkForMagicArrowString(bytes) ? new RecordBatchStreamReader(new RecordBatchStreamReaderImpl(source)) : new RecordBatchFileReader(new RecordBatchFileReaderImpl(source.read())) : new RecordBatchStreamReader(new RecordBatchStreamReaderImpl(
|
|
10605
|
+
return bytes && bytes.byteLength >= 4 ? !checkForMagicArrowString(bytes) ? new RecordBatchStreamReader(new RecordBatchStreamReaderImpl(source)) : new RecordBatchFileReader(new RecordBatchFileReaderImpl(source.read())) : new RecordBatchStreamReader(new RecordBatchStreamReaderImpl(function* () {
|
|
10623
10606
|
}()));
|
|
10624
10607
|
}
|
|
10625
10608
|
function fromAsyncByteStream(source) {
|
|
@@ -10642,7 +10625,7 @@ function fromFileHandle(source) {
|
|
|
10642
10625
|
});
|
|
10643
10626
|
}
|
|
10644
10627
|
|
|
10645
|
-
//
|
|
10628
|
+
// ../../node_modules/apache-arrow/visitor/vectorassembler.mjs
|
|
10646
10629
|
var VectorAssembler = class _VectorAssembler extends Visitor {
|
|
10647
10630
|
/** @nocollapse */
|
|
10648
10631
|
static assemble(...args) {
|
|
@@ -10784,7 +10767,7 @@ VectorAssembler.prototype.visitInterval = assembleFlatVector;
|
|
|
10784
10767
|
VectorAssembler.prototype.visitFixedSizeList = assembleListVector;
|
|
10785
10768
|
VectorAssembler.prototype.visitMap = assembleListVector;
|
|
10786
10769
|
|
|
10787
|
-
//
|
|
10770
|
+
// ../../node_modules/apache-arrow/ipc/writer.mjs
|
|
10788
10771
|
var RecordBatchWriter = class extends ReadableInterop {
|
|
10789
10772
|
/** @nocollapse */
|
|
10790
10773
|
// @ts-ignore
|
|
@@ -11037,15 +11020,11 @@ function writeAllAsync(writer, batches) {
|
|
|
11037
11020
|
var _b2, e_1, _c2, _d2;
|
|
11038
11021
|
return __awaiter(this, void 0, void 0, function* () {
|
|
11039
11022
|
try {
|
|
11040
|
-
for (_a5 = true, batches_1 = __asyncValues(batches); batches_1_1 = yield batches_1.next(), _b2 = batches_1_1.done, !_b2; ) {
|
|
11023
|
+
for (_a5 = true, batches_1 = __asyncValues(batches); batches_1_1 = yield batches_1.next(), _b2 = batches_1_1.done, !_b2; _a5 = true) {
|
|
11041
11024
|
_d2 = batches_1_1.value;
|
|
11042
11025
|
_a5 = false;
|
|
11043
|
-
|
|
11044
|
-
|
|
11045
|
-
writer.write(batch);
|
|
11046
|
-
} finally {
|
|
11047
|
-
_a5 = true;
|
|
11048
|
-
}
|
|
11026
|
+
const batch = _d2;
|
|
11027
|
+
writer.write(batch);
|
|
11049
11028
|
}
|
|
11050
11029
|
} catch (e_1_1) {
|
|
11051
11030
|
e_1 = { error: e_1_1 };
|
|
@@ -11062,7 +11041,7 @@ function writeAllAsync(writer, batches) {
|
|
|
11062
11041
|
});
|
|
11063
11042
|
}
|
|
11064
11043
|
|
|
11065
|
-
//
|
|
11044
|
+
// ../../node_modules/apache-arrow/io/whatwg/iterable.mjs
|
|
11066
11045
|
function toDOMStream(source, options) {
|
|
11067
11046
|
if (isAsyncIterable(source)) {
|
|
11068
11047
|
return asyncIterableAsReadableDOMStream(source, options);
|
|
@@ -11145,7 +11124,7 @@ function asyncIterableAsReadableDOMStream(source, options) {
|
|
|
11145
11124
|
}
|
|
11146
11125
|
}
|
|
11147
11126
|
|
|
11148
|
-
//
|
|
11127
|
+
// ../../node_modules/apache-arrow/io/whatwg/builder.mjs
|
|
11149
11128
|
function builderThroughDOMStream(options) {
|
|
11150
11129
|
return new BuilderTransform(options);
|
|
11151
11130
|
}
|
|
@@ -11225,7 +11204,7 @@ var chunkByteLength = (chunk) => {
|
|
|
11225
11204
|
return (_a5 = chunk === null || chunk === void 0 ? void 0 : chunk.byteLength) !== null && _a5 !== void 0 ? _a5 : 0;
|
|
11226
11205
|
};
|
|
11227
11206
|
|
|
11228
|
-
//
|
|
11207
|
+
// ../../node_modules/apache-arrow/io/whatwg/reader.mjs
|
|
11229
11208
|
function recordBatchReaderThroughDOMStream(writableStrategy, readableStrategy) {
|
|
11230
11209
|
const queue = new AsyncByteQueue();
|
|
11231
11210
|
let reader = null;
|
|
@@ -11267,7 +11246,7 @@ function recordBatchReaderThroughDOMStream(writableStrategy, readableStrategy) {
|
|
|
11267
11246
|
}
|
|
11268
11247
|
}
|
|
11269
11248
|
|
|
11270
|
-
//
|
|
11249
|
+
// ../../node_modules/apache-arrow/io/whatwg/writer.mjs
|
|
11271
11250
|
function recordBatchWriterThroughDOMStream(writableStrategy, readableStrategy) {
|
|
11272
11251
|
const writer = new this(writableStrategy);
|
|
11273
11252
|
const reader = new AsyncByteStream(writer);
|
|
@@ -11305,7 +11284,7 @@ function recordBatchWriterThroughDOMStream(writableStrategy, readableStrategy) {
|
|
|
11305
11284
|
}
|
|
11306
11285
|
}
|
|
11307
11286
|
|
|
11308
|
-
//
|
|
11287
|
+
// ../../node_modules/apache-arrow/ipc/serialization.mjs
|
|
11309
11288
|
function tableFromIPC(input2) {
|
|
11310
11289
|
const reader = RecordBatchReader.from(input2);
|
|
11311
11290
|
if (isPromise(reader)) {
|
|
@@ -11317,14 +11296,14 @@ function tableFromIPC(input2) {
|
|
|
11317
11296
|
return new Table(reader.readAll());
|
|
11318
11297
|
}
|
|
11319
11298
|
|
|
11320
|
-
//
|
|
11299
|
+
// ../../node_modules/apache-arrow/Arrow.mjs
|
|
11321
11300
|
var util = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, bn_exports), int_exports), bit_exports), math_exports), buffer_exports), vector_exports), {
|
|
11322
11301
|
compareSchemas,
|
|
11323
11302
|
compareFields,
|
|
11324
11303
|
compareTypes
|
|
11325
11304
|
});
|
|
11326
11305
|
|
|
11327
|
-
//
|
|
11306
|
+
// ../../node_modules/apache-arrow/Arrow.dom.mjs
|
|
11328
11307
|
adapters_default.toDOMStream = toDOMStream;
|
|
11329
11308
|
Builder["throughDOM"] = builderThroughDOMStream;
|
|
11330
11309
|
RecordBatchReader["throughDOM"] = recordBatchReaderThroughDOMStream;
|
|
@@ -11640,8 +11619,12 @@ function visit(callback) {
|
|
|
11640
11619
|
function logical(op, clauses) {
|
|
11641
11620
|
const children = clauses.filter((x) => x != null).map(asColumn);
|
|
11642
11621
|
const strings = children.map((c, i) => i ? ` ${op} ` : "");
|
|
11643
|
-
if (
|
|
11622
|
+
if (children.length === 1) {
|
|
11644
11623
|
strings.push("");
|
|
11624
|
+
} else if (children.length > 1) {
|
|
11625
|
+
strings[0] = "(";
|
|
11626
|
+
strings.push(")");
|
|
11627
|
+
}
|
|
11645
11628
|
return sql(strings, ...children).annotate({ op, children, visit });
|
|
11646
11629
|
}
|
|
11647
11630
|
var and = (...clauses) => logical("AND", clauses.flat());
|
|
@@ -12318,6 +12301,7 @@ function jsType(type) {
|
|
|
12318
12301
|
case "DATE":
|
|
12319
12302
|
case "TIMESTAMP":
|
|
12320
12303
|
case "TIMESTAMPTZ":
|
|
12304
|
+
case "TIMESTAMP WITH TIME ZONE":
|
|
12321
12305
|
case "TIME":
|
|
12322
12306
|
return "date";
|
|
12323
12307
|
case "BOOLEAN":
|
|
@@ -12506,11 +12490,13 @@ var DataCubeIndexer = class {
|
|
|
12506
12490
|
const cols = Object.values(activeView.columns).map((c) => c.columns[0]);
|
|
12507
12491
|
subqueryPushdown(subq, cols);
|
|
12508
12492
|
}
|
|
12493
|
+
const order = query.orderby();
|
|
12494
|
+
query.query.orderby = [];
|
|
12509
12495
|
const sql2 = query.toString();
|
|
12510
12496
|
const id = (fnv_hash(sql2) >>> 0).toString(16);
|
|
12511
12497
|
const table2 = `cube_index_${id}`;
|
|
12512
12498
|
const result = mc.exec(create(table2, sql2, { temp }));
|
|
12513
|
-
indices.set(client, { table: table2, result, ...index });
|
|
12499
|
+
indices.set(client, { table: table2, result, order, ...index });
|
|
12514
12500
|
}
|
|
12515
12501
|
}
|
|
12516
12502
|
async update() {
|
|
@@ -12527,8 +12513,8 @@ var DataCubeIndexer = class {
|
|
|
12527
12513
|
if (!filter) {
|
|
12528
12514
|
filter = this.activeView.predicate(this.selection.active.predicate);
|
|
12529
12515
|
}
|
|
12530
|
-
const { table: table2, dims, aggr } = index;
|
|
12531
|
-
const query = Query.select(dims, aggr).from(table2).groupby(dims).where(filter);
|
|
12516
|
+
const { table: table2, dims, aggr, order = [] } = index;
|
|
12517
|
+
const query = Query.select(dims, aggr).from(table2).groupby(dims).where(filter).orderby(order);
|
|
12532
12518
|
return this.mc.updateClient(client, query);
|
|
12533
12519
|
}
|
|
12534
12520
|
};
|