The ztest YAML definitions found below this directory are derived from the corresponding sqllogictest scripts from SQLite found here. They are intended to test for SuperDB's backward compatibility with PostgreSQL.
The queries included in these ztests are trimmed down from the full set provided with SQLite. The trimming process is as follows:
-
Only the
select[1-5]andrandomsets are targeted, since SuperDB does not currently support SQL features exercised by the other test sets (e.g., indexing, views, etc.) -
DDL/DML statements at the top of the sqllogictest scripts (e.g.,
CREATE TABLEandINSERT INTO) have been previously executed in PostgreSQL and the resulting tables dumped to Parquet files (as described in the top-level README) to be used as query inputs. -
Any queries hinted with
skipif postgresql, hinted withonlyiffor a non-PostgreSQL system, or otherwise confirmed to be rejected by PostgreSQL are not included.
This remaining 3,619,718 total queries are captured in .yaml or .fail
ztest files below this directory.