Skip to content

tegmentum/arrow-csv-typed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arrow-csv-typed

Standalone Arrow CSV reader exposed as a WASI P2 component. Same workaround-D pattern as arrow-ipc-typed and arrow-compute-typed: bytes cross the WIT boundary, the Rust side does the parsing + type-inference + downcast, the result is serialized into per-type list<option<T>> columns. No arrow:core resource sharing.

Surface (MVP)

arrow:csv-typed/read:

  • read-csv(bytes, options) -> list<named-column> — single-batch read. Column types inferred from the first N lines per options.max-records-for-inference (0 = whole stream).
  • Supported column types: bool, int64, float64, string. Other inferred numerics (i8/u32/f32 etc.) widen to one of the four; richer types (dates, decimals, etc.) follow when a real consumer asks.

Build

bash scripts/build.sh

Produces build/arrow-csv-typed.component.wasm.

License

Apache-2.0

About

Standalone Arrow CSV reader for pylon: bytes in, typed-columns out (workaround-D shape, no arrow:core resource sharing). WASM Component Model.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors