Skip to content

Commit e07aab7

Browse files
committed
Merge branch 'master' into dropdown
2 parents b35b8a4 + 14589a9 commit e07aab7

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

package.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hyperparam",
3-
"version": "0.2.31",
3+
"version": "0.2.32",
44
"description": "Hyperparam CLI",
55
"author": "Hyperparam",
66
"homepage": "https://hyperparam.app",
@@ -34,7 +34,8 @@
3434
"build:app": "vite build",
3535
"build": "run-s build:lib build:types build:app",
3636
"coverage": "vitest run --coverage --coverage.include=src --coverage.include=bin",
37-
"dev": "run-p -l watch:ts watch:vite watch:serve",
37+
"dev:cli": "run-p -l watch:ts watch:cli watch:serve",
38+
"dev": "run-p -l watch:ts watch:static",
3839
"lint": "eslint",
3940
"lint:fix": "eslint --fix",
4041
"prepublishOnly": "npm run build",
@@ -45,14 +46,15 @@
4546
"typecheck": "tsc --noEmit",
4647
"url": "run-p -l watch:ts watch:vite watch:url",
4748
"preurl": "npm run build",
48-
"watch:ts": "tsc --watch",
49-
"watch:vite": "vite build --watch",
49+
"watch:cli": "vite build --watch",
5050
"watch:serve": "NODE_ENV=development nodemon bin/cli.js",
51+
"watch:static": "vite",
52+
"watch:ts": "tsc --watch",
5153
"watch:url": "NODE_ENV=development nodemon bin/cli.js https://hyperparam.blob.core.windows.net/hyperparam/starcoderdata-js-00000-of-00065.parquet"
5254
},
5355
"dependencies": {
5456
"hightable": "0.14.1",
55-
"hyparquet": "1.10.4",
57+
"hyparquet": "1.11.0",
5658
"hyparquet-compressors": "1.1.1",
5759
"icebird": "0.1.14",
5860
"react": "18.3.1",
@@ -68,8 +70,8 @@
6870
"@storybook/test": "8.6.12",
6971
"@testing-library/react": "16.3.0",
7072
"@types/node": "22.14.0",
71-
"@types/react": "19.0.12",
72-
"@types/react-dom": "19.0.4",
73+
"@types/react": "19.1.0",
74+
"@types/react-dom": "19.1.1",
7375
"@vitejs/plugin-react": "4.3.4",
7476
"@vitest/coverage-v8": "3.1.1",
7577
"eslint": "9.24.0",

src/lib/tableProvider.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ export function parquetDataFrame(from: AsyncBufferFrom, metadata: FileMetaData):
7575
}
7676
})
7777
.catch((error: unknown) => {
78-
console.error('Error fetching row group', error)
78+
const prefix = `Error fetching row group ${groupIndex} (${rowStart}-${rowEnd}).`
79+
console.error(prefix, error)
80+
const reason = `${prefix} ${error}`
81+
// reject the index of the first row (it's enough to trigger the error bar)
82+
data[rowStart]?.index.reject(reason)
7983
})
8084
groups[groupIndex] = true
8185
}

0 commit comments

Comments
 (0)