@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
|
@@ -3718,7 +3718,13 @@
|
|
|
3718
3718
|
throw new Error(parsed.error);
|
|
3719
3719
|
}
|
|
3720
3720
|
if (parsed.data) {
|
|
3721
|
-
rows
|
|
3721
|
+
// Append rows one at a time instead of spreading the whole chunk as
|
|
3722
|
+
// call arguments (`rows.push(...parsed.data)`). A large single-chunk
|
|
3723
|
+
// result (e.g. 130k+ rows) otherwise exceeds V8's argument-count
|
|
3724
|
+
// limit and throws "RangeError: Maximum call stack size exceeded".
|
|
3725
|
+
for (var i = 0; i < parsed.data.length; i++) {
|
|
3726
|
+
rows.push(parsed.data[i]);
|
|
3727
|
+
}
|
|
3722
3728
|
}
|
|
3723
3729
|
}
|
|
3724
3730
|
}
|