Skip to content

brimdata/sqllogic-ztests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

sqllogic-ztests

This repository is a collection of ztests that contain queries derived from sqllogictest scripts. They're intended primarily for use as SuperDB regression tests.

Usage

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

Details

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.

About

Queries derived from sqllogictest scripts that can be run via SuperDB's ztest package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published