columna API reference - v0.3.0
    Preparing search index...

    Function init

    • Start the optional infrastructure — this is the only place it starts. Importing columna has no side effects beyond registering inert backend objects; init() requests the WebGPU adapter / device, loads the native Node addon and the Rust WASM kernels when they are available, and resolves when all of that is settled. Without it the CPU engine handles everything, deterministically. gpuLossyF32: true lets the WebGPU filter / map kernels run f64 and datetime columns (and literals the column type cannot represent) in float32 — faster, but the GPU may then return different rows than the CPU (16 777 217 rounds to 16 777 216). Off by default: results are identical across backends.

      Parameters

      • options: { gpuLossyF32?: boolean; native?: boolean; rust?: boolean } = {}

      Returns Promise<Runtime>