Package io.trino.sql.planner.sanity
Class TypeValidator
java.lang.Object
io.trino.sql.planner.sanity.TypeValidator
- All Implemented Interfaces:
PlanSanityChecker.Checker
Ensures that all the expressions and FunctionCalls matches their output symbols
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(PlanNode plan, Session session, PlannerContext plannerContext, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)
-
Constructor Details
-
TypeValidator
public TypeValidator()
-
-
Method Details
-
validate
public void validate(PlanNode plan, Session session, PlannerContext plannerContext, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector) - Specified by:
validatein interfacePlanSanityChecker.Checker
-