@cubejs-client/core 1.7.11 → 1.7.13
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/cubejs-client-core.cjs +7 -1
- package/dist/cubejs-client-core.cjs.map +1 -1
- package/dist/cubejs-client-core.umd.js +7 -1
- package/dist/cubejs-client-core.umd.js.map +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +7 -1
- package/dist/test/CubeApi.test.js +23 -0
- package/package.json +3 -3
|
@@ -3798,7 +3798,13 @@ var CubeApi = /*#__PURE__*/function () {
|
|
|
3798
3798
|
throw new Error(parsed.error);
|
|
3799
3799
|
}
|
|
3800
3800
|
if (parsed.data) {
|
|
3801
|
-
rows
|
|
3801
|
+
// Append rows one at a time instead of spreading the whole chunk as
|
|
3802
|
+
// call arguments (`rows.push(...parsed.data)`). A large single-chunk
|
|
3803
|
+
// result (e.g. 130k+ rows) otherwise exceeds V8's argument-count
|
|
3804
|
+
// limit and throws "RangeError: Maximum call stack size exceeded".
|
|
3805
|
+
for (var i = 0; i < parsed.data.length; i++) {
|
|
3806
|
+
rows.push(parsed.data[i]);
|
|
3807
|
+
}
|
|
3802
3808
|
}
|
|
3803
3809
|
}
|
|
3804
3810
|
}
|