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 6c3972651e GH-39114: [JS] Fix Example Code (#39442)
6c3972651e is described below
commit 6c3972651e2dfa874f9bc38791de329bcdd78ecd
Author: Tammy DiPrima <[email protected]>
AuthorDate: Thu Jan 4 16:18:22 2024 -0500
GH-39114: [JS] Fix Example Code (#39442)
---
js/examples/read_file.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js/examples/read_file.html b/js/examples/read_file.html
index 1013fbe79e..cd4d58f542 100644
--- a/js/examples/read_file.html
+++ b/js/examples/read_file.html
@@ -41,7 +41,7 @@ function addCell (tr, type, value) {
}
reader.onload = function (evt) {
- var arrowTable = Arrow.Table.from([new Uint8Array(evt.target.result)]);
+ var arrowTable = Arrow.tableFromIPC(evt.target.result);
var thead = document.getElementById("thead");
var tbody = document.getElementById("tbody");