Description
SELECT COUNT(1) FROM t LIMIT CAST(NULL AS INT)
fails in the QueryPlanner with:
java.lang.AssertionError: assertion failed: No plan for GlobalLimit null
I think this issue should be caught earlier during semantic analysis.
SELECT COUNT(1) FROM t LIMIT CAST(NULL AS INT)
fails in the QueryPlanner with:
java.lang.AssertionError: assertion failed: No plan for GlobalLimit null
I think this issue should be caught earlier during semantic analysis.