public class HiveSortLimitPullUpConstantsRule
Planner rule that pulls up constant keys through a SortLimit operator.
This rule is only applied on SortLimit operators that are not the root
of the plan tree. This is done because the interaction of this rule
with the AST conversion may cause some optimizations to not kick in
e.g. SimpleFetchOptimizer. Nevertheless, this will not have any
performance impact in the resulting plans.