Every subdirectory in this directory is a test. The tests have the following files:
input.pql
: The input Pipeline Query Languageoutput.csv
: The expected output table for the query.output.sql
: The expected generated SQL. Generally, this is generated bygo test -record
and then inspected for correctness.- (Optional)
skip
: If a file calledskip
is present in the directory, the test will not be run. - (Optional)
unordered
: If a file calledunordered
is present in the directory, the rows inoutput.csv
may appear in any order during the query execution.
See the testdata/Tables
directory for the tables these tests use.