This is an automated email from the ASF dual-hosted git repository.
domoritz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 278bcab077 GH-39366: [JS] Add largeUtf8 to benchmark (#39367)
278bcab077 is described below
commit 278bcab07709d8d896d7fe7df981482304bd9fc5
Author: Dominik Moritz <[email protected]>
AuthorDate: Fri Jan 5 22:06:45 2024 +0000
GH-39366: [JS] Add largeUtf8 to benchmark (#39367)
* Closes: #39366
---
js/perf/config.ts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/js/perf/config.ts b/js/perf/config.ts
index d5a0707558..d2b24c4ee9 100644
--- a/js/perf/config.ts
+++ b/js/perf/config.ts
@@ -82,7 +82,8 @@ export const arrays = {
export const vectors: { [k: string]: Arrow.Vector } = Object.fromEntries([
...Object.entries(typedArrays).map(([name, array]) => [name,
Arrow.makeVector(array)]),
...Object.entries(arrays).map(([name, array]) => [name,
Arrow.vectorFromArray(array)]),
- ['string', Arrow.vectorFromArray(arrays.dictionary, new Arrow.Utf8)],
+ ['utf8', Arrow.vectorFromArray(arrays.dictionary, new Arrow.Utf8)],
+ ['largeUtf8', Arrow.vectorFromArray(arrays.dictionary, new
Arrow.LargeUtf8)],
]);
const tracks = new Arrow.Table(batches[0].schema, batches);