Re-exports§
pub use validation::is_permissible_error;
Modules§
- reducer
- Provides E2E Test runner functionality.
- sql_gen 🔒
- Provides Data structures for query generation, and the interface for generating stream (MATERIALIZED VIEW) and batch query statements.
- test_
runners - Contains test runners:
- utils 🔒
- validation
- Provides validation logic for expected errors.
Structs§
Functions§
- create_
table_ statement_ to_ table - Extract relevant info from CREATE TABLE statement, to construct a Table
- differential_
sql_ gen - generate_
update_ statements - insert_
sql_ gen - Generate
INSERT
- mview_
sql_ gen - Generate a random CREATE MATERIALIZED VIEW sql string.
These are derived from
tables
. - parse_
create_ table_ statements - parse_
sql - Parse SQL FIXME(Noel): Introduce error type for sqlsmith for this.
- print_
function_ table - session_
sql_ gen - TODO(noel): Eventually all session variables should be fuzzed.
For now we start of with a few hardcoded configs.
Some config need workarounds, for instance
QUERY_MODE
, which can lead to stack overflow (a simple workaround is limit length of generated query whenQUERY_MODE=local
. - sql_gen
- Generate a random SQL string.