-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sql: Parenthetical SELECTs throw away ORDER BY #4734
Comments
I imagine there is some silly oversight in the code. Definitely would be a good intro to the code to track down what is going on. Let us know if you need any guidance. |
Ah, I should have mentioned that I did actually find the bug, was going to take a look at fixing it today |
Oops, wrong button : - / |
You can probably keep this issue open until the bug is fixed. On Tue, Mar 1, 2016 at 10:34 AM, Dan Harrison notifications@github.com
|
We were previously accepting these parses, but losing the sort and limit data. This commit adds a generalized sortNode and limitNode for any select-like, but keeps the optimization of passing them down to Select itself. Closes cockroachdb#4734. Closes cockroachdb#2691.
We were previously accepting these parses, but losing the sort and limit data. This commit adds a generalized sortNode and limitNode for any select-like, but keeps the optimization of passing them down to Select itself for index selection. Closes cockroachdb#4734. Closes cockroachdb#2691.
We were previously accepting these parses, but losing the sort and limit data. This commit adds a generalized sortNode and limitNode for any SelectStatement, but keeps the optimization of passing them down to SelectClause itself for index selection. Closes cockroachdb#4734. Closes cockroachdb#2691.
We were previously accepting these parses, but losing the sort and limit data. This commit adds a generalized sortNode and limitNode for any SelectStatement, but keeps the optimization of passing them down to SelectClause itself for index selection. Closes cockroachdb#4734. Closes cockroachdb#2691.
repro: https://github.com/paperstreet/cockroach/commits/parenselect_order
The text was updated successfully, but these errors were encountered: