├── .github └── workflows │ ├── ci.yml │ ├── release-notes.py │ └── release.yml ├── .gitignore ├── CHANGELOG.md ├── Cargo.lock ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── rust-toolchain ├── rustfmt.toml ├── sqllogictest-bin ├── Cargo.toml ├── README.md └── src │ ├── engines.rs │ └── main.rs ├── sqllogictest-engines ├── Cargo.toml └── src │ ├── external.rs │ ├── lib.rs │ ├── mysql.rs │ ├── postgres.rs │ └── postgres │ ├── extended.rs │ ├── postgres_extended_test.slt │ ├── postgres_simple_test.slt │ └── simple.rs ├── sqllogictest ├── Cargo.toml ├── README.md └── src │ ├── column_type.rs │ ├── connection.rs │ ├── harness.rs │ ├── lib.rs │ ├── parser.rs │ ├── runner.rs │ └── substitution.rs └── tests ├── Cargo.toml ├── custom_type ├── custom_type.rs └── custom_type.slt ├── harness.rs ├── no_run ├── README.md ├── query_retry.slt ├── statement_retry.slt └── system_retry.slt ├── slt ├── basic.slt ├── condition.slt ├── connection │ └── counter.slt ├── file_level_sort_mode.slt ├── include │ ├── include │ │ ├── a.slt.part │ │ └── b.slt.part │ ├── include_1.slt │ └── include_2.slt.part ├── retry.slt ├── rowsort.slt └── valuesort.slt ├── substitution ├── basic.slt └── substitution.rs ├── system_command ├── system_command.rs ├── system_command.slt ├── system_command_fail.slt └── system_command_fail_2.slt ├── test_dir_escape ├── test_dir_escape.rs └── test_dir_escape.slt └── validator ├── validator.rs └── validator.slt /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release-notes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/.github/workflows/release-notes.py -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | .vscode/ 3 | e2e_test/ 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/README.md -------------------------------------------------------------------------------- /rust-toolchain: -------------------------------------------------------------------------------- 1 | stable 2 | -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/rustfmt.toml -------------------------------------------------------------------------------- /sqllogictest-bin/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest-bin/Cargo.toml -------------------------------------------------------------------------------- /sqllogictest-bin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest-bin/README.md -------------------------------------------------------------------------------- /sqllogictest-bin/src/engines.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest-bin/src/engines.rs -------------------------------------------------------------------------------- /sqllogictest-bin/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest-bin/src/main.rs -------------------------------------------------------------------------------- /sqllogictest-engines/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest-engines/Cargo.toml -------------------------------------------------------------------------------- /sqllogictest-engines/src/external.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest-engines/src/external.rs -------------------------------------------------------------------------------- /sqllogictest-engines/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest-engines/src/lib.rs -------------------------------------------------------------------------------- /sqllogictest-engines/src/mysql.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest-engines/src/mysql.rs -------------------------------------------------------------------------------- /sqllogictest-engines/src/postgres.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest-engines/src/postgres.rs -------------------------------------------------------------------------------- /sqllogictest-engines/src/postgres/extended.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest-engines/src/postgres/extended.rs -------------------------------------------------------------------------------- /sqllogictest-engines/src/postgres/postgres_extended_test.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest-engines/src/postgres/postgres_extended_test.slt -------------------------------------------------------------------------------- /sqllogictest-engines/src/postgres/postgres_simple_test.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest-engines/src/postgres/postgres_simple_test.slt -------------------------------------------------------------------------------- /sqllogictest-engines/src/postgres/simple.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest-engines/src/postgres/simple.rs -------------------------------------------------------------------------------- /sqllogictest/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest/Cargo.toml -------------------------------------------------------------------------------- /sqllogictest/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest/README.md -------------------------------------------------------------------------------- /sqllogictest/src/column_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest/src/column_type.rs -------------------------------------------------------------------------------- /sqllogictest/src/connection.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest/src/connection.rs -------------------------------------------------------------------------------- /sqllogictest/src/harness.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest/src/harness.rs -------------------------------------------------------------------------------- /sqllogictest/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest/src/lib.rs -------------------------------------------------------------------------------- /sqllogictest/src/parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest/src/parser.rs -------------------------------------------------------------------------------- /sqllogictest/src/runner.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest/src/runner.rs -------------------------------------------------------------------------------- /sqllogictest/src/substitution.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/sqllogictest/src/substitution.rs -------------------------------------------------------------------------------- /tests/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/Cargo.toml -------------------------------------------------------------------------------- /tests/custom_type/custom_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/custom_type/custom_type.rs -------------------------------------------------------------------------------- /tests/custom_type/custom_type.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/custom_type/custom_type.slt -------------------------------------------------------------------------------- /tests/harness.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/harness.rs -------------------------------------------------------------------------------- /tests/no_run/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/no_run/README.md -------------------------------------------------------------------------------- /tests/no_run/query_retry.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/no_run/query_retry.slt -------------------------------------------------------------------------------- /tests/no_run/statement_retry.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/no_run/statement_retry.slt -------------------------------------------------------------------------------- /tests/no_run/system_retry.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/no_run/system_retry.slt -------------------------------------------------------------------------------- /tests/slt/basic.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/slt/basic.slt -------------------------------------------------------------------------------- /tests/slt/condition.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/slt/condition.slt -------------------------------------------------------------------------------- /tests/slt/connection/counter.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/slt/connection/counter.slt -------------------------------------------------------------------------------- /tests/slt/file_level_sort_mode.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/slt/file_level_sort_mode.slt -------------------------------------------------------------------------------- /tests/slt/include/include/a.slt.part: -------------------------------------------------------------------------------- 1 | query T 2 | select * from example_basic 3 | ---- 4 | Alice 5 | Bob 6 | Eve 7 | -------------------------------------------------------------------------------- /tests/slt/include/include/b.slt.part: -------------------------------------------------------------------------------- 1 | query T 2 | select * from example_basic 3 | ---- 4 | Alice 5 | Bob 6 | Eve 7 | 8 | -------------------------------------------------------------------------------- /tests/slt/include/include_1.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/slt/include/include_1.slt -------------------------------------------------------------------------------- /tests/slt/include/include_2.slt.part: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/slt/include/include_2.slt.part -------------------------------------------------------------------------------- /tests/slt/retry.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/slt/retry.slt -------------------------------------------------------------------------------- /tests/slt/rowsort.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/slt/rowsort.slt -------------------------------------------------------------------------------- /tests/slt/valuesort.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/slt/valuesort.slt -------------------------------------------------------------------------------- /tests/substitution/basic.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/substitution/basic.slt -------------------------------------------------------------------------------- /tests/substitution/substitution.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/substitution/substitution.rs -------------------------------------------------------------------------------- /tests/system_command/system_command.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/system_command/system_command.rs -------------------------------------------------------------------------------- /tests/system_command/system_command.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/system_command/system_command.slt -------------------------------------------------------------------------------- /tests/system_command/system_command_fail.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/system_command/system_command_fail.slt -------------------------------------------------------------------------------- /tests/system_command/system_command_fail_2.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/system_command/system_command_fail_2.slt -------------------------------------------------------------------------------- /tests/test_dir_escape/test_dir_escape.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/test_dir_escape/test_dir_escape.rs -------------------------------------------------------------------------------- /tests/test_dir_escape/test_dir_escape.slt: -------------------------------------------------------------------------------- 1 | control substitution on 2 | 3 | statement ok 4 | copy test to '${__TEST_DIR__}/test.csv'; 5 | -------------------------------------------------------------------------------- /tests/validator/validator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/validator/validator.rs -------------------------------------------------------------------------------- /tests/validator/validator.slt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/risinglightdb/sqllogictest-rs/HEAD/tests/validator/validator.slt --------------------------------------------------------------------------------