Spiral is a local SQL engine for AI/ML datasets where reading the value is the expensive part: compressed columns, images, video, audio, documents, tensors, features, and scientific arrays. The current client is a command-line SQL REPL over Vortex files, in-memory tables, and table functions registered in the active Spiral session.
Use Spiral to filter and align metadata first, then materialize only the rows, bytes, or tensors a research workload needs.
What works today
- Start
spiral sqlfrom source. - Register Vortex files as session-local tables.
- Create small in-memory tables for examples and smoke tests.
- Run a focused analytical SQL subset: projection, filtering, grouping,
aggregates, ordering, limits,
VALUES,EXPLAIN, andEXPLAIN ANALYZE. - Query local files through built-in table functions:
spql.vortex.read,spql.arrow.read_ipc, andspql.parquet.read. - Export query results with
COPY TOin Vortex or Arrow IPC format. - Query the catalog with
spql.meta.table_functions(),spql.meta.source_functions(), andspql.meta.extension_types(). - Use implemented Blob, JPEG, EXIF, and image preview extension types in sessions that register the default CLI plugins.
What this documentation reserves
Spiral is being shaped around extension packages for images, video, audio, documents, tensors, and custom data systems. Those pages are marked Experimental: Contact Us until the public packages are implemented. They describe the intended user contract so examples and product language stay consistent as the surface grows.
Researcher path
Build the client and run the smallest complete Spiral session.
Open local Vortex files, query Arrow IPC and Parquet files, and create scratch tables.
Select, filter, group, sort, inspect plans, and discover registered table functions.
Use Blob and JPEG primitives today and track the experimental image, video, audio, document, tensor, and custom extension surfaces.
Follow the query-to-batch model for training pipelines and reproducible samples.
Configure the REPL, tune local queries, troubleshoot errors, and check limits.
Find exact CLI, SQL, function, table-function, copy-format, and support details.
Working model
Vortex files, in-memory tables, or table functions
-> SQL
-> Spiral relation plan
-> terminal rows, plan report, or execution report