Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
Description
Push down LocalLimit can not optimize the case of distinct.
def isEmpty: Boolean = withAction("isEmpty", withTypedPlan { LocalLimit(Literal(1), select().logicalPlan) }.queryExecution) { plan => plan.executeTake(1).isEmpty }
Attachments
Issue Links
- links to