This repository is a collection of ztests that contain queries derived from sqllogictest scripts. They're intended primarily for use as SuperDB regression tests.
To run all available tests, inside the top-level directory of your SuperDB checkout:
git clone --depth=1 https://github.com/brimdata/sqllogic-ztests
make TEST=TestSPQ/sqllogic-ztests
READMEs inside each subdirectory describe the origin of each set of tests, with subdirectories below those holding the ztest YAML definitions.
As SuperDB does not yet support SQL DDL,
each test subdirectory includes a set of input files in
Parquet format that the queries treat as
tables. The numeric ztest YAML filenames in each test subdirectory follow the
order of the test queries (i.e., not DDL statements) as they appeared in the
corresponding sqllogictest scripts, e.g., q0.yaml
is the first query,
q1.yaml
is the next, etc.