vortex

package module
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: MIT Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

vortex-go

A pure Go reader and writer for the Vortex columnar file format.

Status: design only. Nothing is implemented yet.

Goals

Ranked. The details and the "done when" lists are in docs/goals.md.

  1. Easy to use. A file to Go structs, or Go structs to a file, in a few lines and no configuration.
  2. Correct. The Rust implementation is the judge, for what we read and for what we write.
  3. Complete. Every encoding, layout and type of the upstream core edition.
  4. Fast, without allocation. A running scan or writer allocates nothing.
  5. Self-contained. No cgo. The standard library, plus klauspost/compress for zstd.
  6. 100% statement coverage. No exclusion.

What it will look like

f, err := vortex.OpenFile("trades.vortex")
if err != nil {
    return err
}
defer f.Close()

type Trade struct {
    ID    int64   `vortex:"id"`
    Price float64 `vortex:"price"`
}

q := vortex.Query{Filter: vortex.Col("price").Gt(100)}
for t, err := range vortex.Rows[Trade](ctx, f, q) {
    if err != nil {
        return err
    }
    use(t)
}

The full interface is in docs/interface.md.

How it is tested

docs/testing.md says how each goal is checked: the corpus of files written by the reference implementation, the oracle that gives the expected values, the check of our writer by the reference reader, the allocation tests and the gates.

make check

Following upstream

.vortex-version pins the upstream release we follow. Renovate opens a PR on each new release. See docs/upstream-update.md.

License

MIT, see LICENSE.

Documentation

Overview

Package vortex reads and writes files in the Vortex columnar format.

Nothing is implemented yet. The goals are in docs/goals.md, the planned interface in docs/interface.md and the test plan in docs/testing.md.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL