Module type_checker

Source

Functionsยง

check_all_values_are_same_type
Checks if all values has the same type If they have the same type, return it or return None
check_function_call_arguments
Check That function call arguments types are matches the parameter types Return a Diagnostic Error if anything is wrong
resolve_dynamic_data_type
Resolve dynamic data type depending on the parameters and arguments types to actual DataType
type_check_and_classify_selected_fields
Check that all selected fields types are defined correctly in selected tables Return the columns classified for each table Return a Diagnostic Error if anything is wrong
type_check_projection_symbols
Check that all projection columns are valid for this table name Return a Diagnostic Error if anything is wrong