Skip to content

Full scan algorithm#1545

Merged
erzel merged 8 commits into
vitessio:masterfrom
erzel:full_scan_algorithm
Mar 10, 2016
Merged

Full scan algorithm#1545
erzel merged 8 commits into
vitessio:masterfrom
erzel:full_scan_algorithm

Conversation

@erzel
Copy link
Copy Markdown
Contributor

@erzel erzel commented Mar 3, 2016

Added implementation of FullScanAlgorithm and test.
Added tests for 3- and 1-tuple inequalities to splitter_test.go
@dumbunny note that I didn't bother optimizing the parenthesis-placement further. So for the scalar case (tuples with only one element), splitquery will return select * from t where (:start <= id) and (:end <= id).
I felt like it's not worth the extra complexity introduced into the code.
Let me know if you object.

Review on Reviewable

@erzel
Copy link
Copy Markdown
Contributor Author

erzel commented Mar 8, 2016

@dumbuny can you take a look ? Thanks!


Review status: 0 of 9 files reviewed at latest revision, all discussions resolved, some commit checks failed.


Comments from the review on Reviewable.io

@erzel
Copy link
Copy Markdown
Contributor Author

erzel commented Mar 8, 2016

@dumbunny PTAL. Thanks!


Review status: 0 of 9 files reviewed at latest revision, all discussions resolved, some commit checks failed.


Comments from the review on Reviewable.io

@enisoc
Copy link
Copy Markdown
Contributor

enisoc commented Mar 9, 2016

LGTM

Approved with PullApprove

@erzel erzel force-pushed the full_scan_algorithm branch 2 times, most recently from 548aa88 to 0bbdf76 Compare March 10, 2016 00:59
@erzel erzel force-pushed the full_scan_algorithm branch from 0bbdf76 to c92f950 Compare March 10, 2016 01:45
erzel added a commit that referenced this pull request Mar 10, 2016
@erzel erzel merged commit f8f418f into vitessio:master Mar 10, 2016
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