This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 6d575b621d MINOR: [Dev][JS] Fix lint issues introduced (#13809)
6d575b621d is described below
commit 6d575b621d14c4b48558da0d366ba007793b2d0c
Author: David Li <[email protected]>
AuthorDate: Sat Aug 6 08:42:50 2022 -0400
MINOR: [Dev][JS] Fix lint issues introduced (#13809)
Fixes some trailing whitespace, and removes what _appears_ to be an
accidentally committed test file.
Authored-by: David Li <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
dev/archery/archery/integration/datagen.py | 2 +-
js/test.ts | 23 -----------------------
2 files changed, 1 insertion(+), 24 deletions(-)
diff --git a/dev/archery/archery/integration/datagen.py
b/dev/archery/archery/integration/datagen.py
index a0ec9d9584..5ac29b3f66 100644
--- a/dev/archery/archery/integration/datagen.py
+++ b/dev/archery/archery/integration/datagen.py
@@ -1599,7 +1599,7 @@ def get_generated_json_files(tempdir=None):
generate_decimal128_case(),
- generate_decimal256_case()
+ generate_decimal256_case()
.skip_category('JS'),
generate_datetime_case(),
diff --git a/js/test.ts b/js/test.ts
deleted file mode 100644
index c5c94944ea..0000000000
--- a/js/test.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import * as arrow from './src/Arrow.dom.js'
-// import * as arrow from './targets/es5/cjs'
-
-const LENGTH = 1000000;
-
-const lat = Float32Array.from(
- { length: LENGTH },
- () => ((Math.random() - 0.5) * 2 * 90));
-const lng = Float32Array.from(
- { length: LENGTH },
- () => ((Math.random() - 0.5) * 2 * 90));
-
-const table = arrow.tableFromArrays({
- 'lat': lat,
- 'lng': lng
-});
-
-let total = 0;
-for (const row of table) {
- total += row['lat'] + row['lng'];
-}
-
-console.log(total);