Skip to content

Sequence#1579

Merged
sougou merged 16 commits into
vitessio:masterfrom
sougou:sequence
Mar 17, 2016
Merged

Sequence#1579
sougou merged 16 commits into
vitessio:masterfrom
sougou:sequence

Conversation

@sougou
Copy link
Copy Markdown
Contributor

@sougou sougou commented Mar 17, 2016

Now that suguwork is merged, I'm switching this pull request to target the master branch.
This is pre-approved. So, I'll be submitting this as soon as the tests pass.


This change is Reviewable

sougou added 15 commits March 10, 2016 16:11
The grammar change allows us to treat all FROM clauses
uniformly. Additionally, we also address the awkard
requirement of adding 'from dual' for sequence constructs.
In the case of sharded lookup tables, deleting a single keyspace id
may result in a multi-shard delete for lookup vindexes. So, a signle
delete that used an IN clause for unsharded tables won't work any ore.
We have to instead issue each vindex row delete separately.
It turns out that NEXT and VALUE are not MySQL reserved words.
So, this breaks certain constructs that use those ids as column
names.
This is a slight hack, but it should get us out of this issue for now.
The join tests have been rewritten to use different tables
so they won't conflict with the other tests.
sougou added a commit that referenced this pull request Mar 17, 2016
@sougou sougou merged commit 5200b54 into vitessio:master Mar 17, 2016
@sougou sougou deleted the sequence branch April 8, 2016 21:13
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.

2 participants