Expand description
SQL purification.
See the crate-level documentation for details.
Modulesยง
- error ๐
- MySQL utilities for SQL purification.
- Postgres utilities for SQL purification.
Structsยง
- Determines whether the AST involves
mz_now()
. - MzNow
Purifier ๐Visitor
Enumsยง
- Defines whether purification should enforce that at least one valid source reference is provided on the provided statement.
Constantsยง
- MZ_
NOW_ ๐NAME - MZ_
NOW_ ๐SCHEMA
Functionsยง
- Updates the CREATE SINK statement with materialize comments
- compile_
proto ๐Collect protobuf message descriptor from CSR and compile the descriptor. - Returns true if the MaterializedViewOption either already involves
mz_now()
or will involve after purification. - purify_
alter_ ๐source Equivalent topurify_create_source
but forAlterSourceStatement
. - Purifies a CREATE MATERIALIZED VIEW statement. Additionally, it adjusts
resolved_ids
if references to ids appear or disappear during the purification. - purify_
create_ ๐sink Checks that the sink described in the statement can connect to its external resources. - purify_
create_ ๐source - purify_
source_ ๐format - Purifies a statement, removing any dependencies on external state.
- source_
export_ ๐gen Generates appropriate source exports for a set of external references to export from a source. - Generates a subsource name by prepending source schema name if present
- Validates the requested subsources do not have name conflicts with each other and that the same upstream table is not referenced multiple times.