mirror of
https://github.com/asadbek064/hyparquet.git
synced 2025-12-06 06:51:54 +00:00
Use hyparquet-compressors in the demo
This commit is contained in:
parent
9cd2e3b666
commit
3ea58cb0b9
@ -3,11 +3,11 @@
|
||||
"browser": true,
|
||||
"node": true
|
||||
},
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended"
|
||||
],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"plugins": ["import", "jsdoc"],
|
||||
"rules": {
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
@ -59,5 +59,6 @@
|
||||
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"]
|
||||
}],
|
||||
"space-infix-ops": "error"
|
||||
}
|
||||
},
|
||||
"ignorePatterns": ["**/*.min.js"]
|
||||
}
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import {
|
||||
parquetMetadata, parquetMetadataAsync, parquetRead, parquetSchema, toJson,
|
||||
} from '../src/hyparquet.js'
|
||||
import { compressors } from './hyparquet-compressors.min.js'
|
||||
import { fileLayout, fileMetadata } from './layout.js'
|
||||
|
||||
/**
|
||||
@ -137,6 +138,7 @@ async function render(asyncBuffer, metadata, name) {
|
||||
|
||||
const startTime = performance.now()
|
||||
await parquetRead({
|
||||
compressors,
|
||||
file: asyncBuffer,
|
||||
rowEnd: 1000,
|
||||
onComplete(/** @type {any[][]} */ data) {
|
||||
|
||||
3
demo/hyparquet-compressors.min.js
vendored
Normal file
3
demo/hyparquet-compressors.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -23,8 +23,7 @@
|
||||
"coverage": "vitest run --coverage --coverage.include=src",
|
||||
"demo": "http-server -o",
|
||||
"lint": "eslint .",
|
||||
"test": "vitest run",
|
||||
"typecheck": "tsc"
|
||||
"test": "vitest run"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "20.14.9",
|
||||
@ -32,7 +31,7 @@
|
||||
"@vitest/coverage-v8": "1.6.0",
|
||||
"eslint": "8.57.0",
|
||||
"eslint-plugin-import": "2.29.1",
|
||||
"eslint-plugin-jsdoc": "48.4.0",
|
||||
"eslint-plugin-jsdoc": "48.5.0",
|
||||
"http-server": "14.1.1",
|
||||
"hyparquet-compressors": "0.1.4",
|
||||
"typescript": "5.4.5",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user