From 6d575b621d14c4b48558da0d366ba007793b2d0c Mon Sep 17 00:00:00 2001
From: David Li
Date: Sat, 6 Aug 2022 08:42:50 -0400
Subject: [PATCH] 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
Signed-off-by: Sutou Kouhei
---
dev/archery/archery/integration/datagen.py | 2 +-
js/test.ts | 23 ----------------------
2 files changed, 1 insertion(+), 24 deletions(-)
delete mode 100644 js/test.ts
diff --git a/dev/archery/archery/integration/datagen.py b/dev/archery/archery/integration/datagen.py
index a0ec9d95840db..5ac29b3f66c4e 100644
--- a/dev/archery/archery/integration/datagen.py
+++ b/dev/archery/archery/integration/datagen.py
@@ -1599,7 +1599,7 @@ def _temp_path():
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 c5c94944ea803..0000000000000
--- 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);