Actually that test case shows a different thing we ought to be catching: if you GROUP BY something that's constrained to be a constant, you should really not GROUP BY it. We might want to create a new rule for that.
Actually that test case shows a different thing we ought to be catching: if you GROUP BY something that's constrained to be a constant, you should really not GROUP BY it. We might want to create a new rule for that.