parquet-bun
v1.0.9
Published
To install library:
Downloads
34
Readme
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
- [x] Implement POC
- [ ] Support all types from TypeList
- [ ] Improve schema building
- [ ] Improve inference from schema
License
MIT