Module mz_transform::typecheck
source · Expand description
Check that the visible type of each query has not been changed
Macros§
- Detailed type error logging as a warning, with failures in CI (SOFT_ASSERTIONS) and a logged error in production
Structs§
- Wrapper struct for a
Display
instance forTypeError
s with a givenExprHumanizer
- Check that the visible type of each query has not been changed
Enums§
- Characterizes differences between individual column types
- Characterizes differences between relation types
- The possible forms of inconsistency/errors discovered during typechecking.
Functions§
- Returns a list of differences that make
sub
not a subtype ofsup
- Prints a type prettily with a given
ExprHumanizer
- Generates an empty context
- Returns true when it is safe to treat a
sub
row as ansup
row - Returns a list of differences that make
sub
not a subtype ofsup
- Returns a list of differences that make
sub
not a subtype ofsup
Type Aliases§
- Context 🔒
- Typechecking contexts as shared by various typechecking passes.