Package io.trino.sql.planner.sanity
Class ValidateLimitWithPresortedInput
java.lang.Object
io.trino.sql.planner.sanity.ValidateLimitWithPresortedInput
- All Implemented Interfaces:
PlanSanityChecker.Checker
Verifies that input of order-sensitive Limit is ordered by the pre-sorted symbols
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(PlanNode planNode, Session session, PlannerContext plannerContext, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector)
-
Constructor Details
-
ValidateLimitWithPresortedInput
public ValidateLimitWithPresortedInput()
-
-
Method Details
-
validate
public void validate(PlanNode planNode, Session session, PlannerContext plannerContext, TypeAnalyzer typeAnalyzer, TypeProvider types, WarningCollector warningCollector) - Specified by:
validatein interfacePlanSanityChecker.Checker
-