-
Notifications
You must be signed in to change notification settings - Fork 66
Support table routing rules (merging sharded tables) #95
Conversation
Hi contributor, thanks for your PR. This patch needs to be approved by someone of admins. They should reply with "/ok-to-test" to accept this PR for running test automatically. |
/run-all-tests |
e736496
to
5b1aaf1
Compare
5b1aaf1
to
a9138d2
Compare
/run-all-tests |
/run-integration-test |
a9138d2
to
71b6aeb
Compare
PTAL @july2993 @csuzhangxc |
71b6aeb
to
f013ac5
Compare
f013ac5
to
c40d6c6
Compare
/run-all-tests tidb=master tikv=master pd=master |
LGTM |
@csuzhangxc @lonng PTAL |
Is there any problem with CI? |
There's a bug in Edit: filed pingcap/parser#310 |
/run-all-tests tidb=master tikv=master pd=master |
This comment has been minimized.
This comment has been minimized.
b9fcb0e
to
907708b
Compare
/run-all-tests tidb=release-3.0 tikv=release-3.0 pd=release-3.0 |
/run-all-tests tidb=release-2.1 tikv=release-2.1 pd=release-2.1 |
I think we've got a TiDB regression from 2.1 to 3.0. Edit: Reproduced locally, it's a master→master regression. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What problem does this PR solve?
TOOL-142
(Note: still won't handle UNIQUE/PRIMARY key conflict. This needs column-mapping)
What is changed and how it works?
Rename the tables while the loading the files. Since we don't care about the table name when parsing the data files, it becomes very simple to support merging: just associate all those data files to the target table.
This PR supersedes #54. Note that #54 is very large because it attempts to do some refactoring at the same time.
Check List
Tests
Code changes
Side effects
Related changes