1.0.9 • Published 2 years ago

parquet-bun v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Parquet Bun

To install library:

bun add parquet-bun

Example

import {openFile} from "parquet-bun";

const schema = {
    'name': {
        type: 'BYTE_ARRAY',
        convertedType: 'UTF8',
        encoding: 'PLAIN_DICTIONARY'
    },
    'male': {
        type: 'BOOLEAN',
    }
} as const;

const writer = openFile('test', schema, 'test.parquet');

writer.appendRow({
    name: 'Emily',
    male: false
});

writer.appendRow({
    name: 'Bob',
    male: true
});

writer.close();

Roadmap

  • Implement POC
  • Support all types from TypeList
  • Improve schema building
  • Improve inference from schema

License

MIT

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago