mirror of
https://github.com/asadbek064/hyparquet.git
synced 2026-01-10 21:16:36 +00:00
Publish v1.12.0
This commit is contained in:
parent
11c7d8174a
commit
8161983962
@ -15,7 +15,7 @@ if (!stat) {
|
||||
if (!res.ok) throw new Error(res.statusText)
|
||||
// write to file async
|
||||
await pipeline(res.body, createWriteStream(filename))
|
||||
stat = await fs.stat(filename).catch(() => undefined)
|
||||
stat = await fs.stat(filename)
|
||||
console.log('downloaded example.parquet', stat.size)
|
||||
}
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hyparquet",
|
||||
"version": "1.11.1",
|
||||
"version": "1.12.0",
|
||||
"description": "Parquet file parser for JavaScript",
|
||||
"author": "Hyperparam",
|
||||
"homepage": "https://hyperparam.app",
|
||||
|
||||
2
src/types.d.ts
vendored
2
src/types.d.ts
vendored
@ -260,7 +260,7 @@ export interface KeyValue {
|
||||
value?: string
|
||||
}
|
||||
|
||||
type MinMaxType = bigint | boolean | number | string | Date | Uint8Array
|
||||
export type MinMaxType = bigint | boolean | number | string | Date | Uint8Array
|
||||
|
||||
export interface Statistics {
|
||||
max?: MinMaxType
|
||||
|
||||
@ -6,9 +6,6 @@ import { asyncBufferFromFile } from '../src/utils.js'
|
||||
|
||||
const values = [null, 1, -2, NaN, 0, -1, -0, 2]
|
||||
|
||||
/**
|
||||
* @import {RowGroupSelect} from '../src/types.d.ts'
|
||||
*/
|
||||
describe('readColumn', () => {
|
||||
it.for([
|
||||
{ selectEnd: Infinity, expected: [values] },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user