Skip to content

Commit 5b5ac8e

Browse files
committed
fix linting and bump
1 parent 939d2cb commit 5b5ac8e

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@boilingdata/node-boilingdata",
3-
"version": "0.0.15",
3+
"version": "0.0.16",
44
"description": "BoilingData client",
55
"main": "dist/cjs/index.js",
66
"types": "dist/cjs/index.d.ts",

src/tests/query.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ describe("BoilingData in all North-America and Europe AWS Regions", () => {
257257
const sourceRegion = "eu-west-3";
258258
const bdInstance = new BoilingData({ username, password, globalCallbacks, logLevel, region: sourceRegion });
259259
await bdInstance.connect();
260-
let allKeys = [
260+
const allKeys = [
261261
"s3://boilingdata-demo/test.parquet",
262262
"s3://eu-west-2-boilingdata-demo/test.parquet",
263263
"s3://eu-west-3-boilingdata-demo/test.parquet",
@@ -275,9 +275,8 @@ describe("BoilingData in all North-America and Europe AWS Regions", () => {
275275
logger.info(`connected to region ${sourceRegion}`);
276276
const rows = await new Promise<any[]>((resolve, reject) => {
277277
const r: any[] = [];
278-
while (true) {
278+
while (allKeys.length) {
279279
const keys = allKeys.splice(0, 5);
280-
if (keys.length <= 0) break;
281280
console.log(totalCount, keys);
282281
bdInstance.execQuery({
283282
sql: `SELECT 's3://KEY' AS key, * FROM parquet_scan('s3://KEY') LIMIT 1;`,

0 commit comments

Comments
 (0)