Skip to content

sql/parse: generate sort before project. #44

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

Merged
merged 1 commit into from
Nov 4, 2016
Merged

Conversation

smola
Copy link
Contributor

@smola smola commented Nov 4, 2016

  • Sort was being generated after Project,
    so it was not possible to ORDER BY
    by a field not included in SELECT.

@codecov-io
Copy link

codecov-io commented Nov 4, 2016

Current coverage is 59.91% (diff: 100%)

Merging #44 into master will not change coverage

@@             master        #44   diff @@
==========================================
  Files            33         33          
  Lines          1497       1497          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            897        897          
  Misses          513        513          
  Partials         87         87          

Powered by Codecov. Last update 1af7783...4de6197

* Sort was being generated after Project,
  so it was not possible to ORDER BY
  by a field not included in SELECT.
* Limit was being executed after the Project too.
@smola smola merged commit 4e15e80 into src-d:master Nov 4, 2016
@smola smola deleted the fix-bugs branch November 4, 2016 16:44
dpordomingo pushed a commit to dpordomingo/gitbase that referenced this pull request Mar 10, 2017
* Sort was being generated after Project,
  so it was not possible to ORDER BY
  by a field not included in SELECT.
* Limit was being executed after the Project too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants