ddl: support multi-table statements#4327
Conversation
rename and drop allow multiple tables in the DDL. This change adds support for them. * Introduced two new members to DDL: 'from' and 'to' table lists. * NewName is deprecated. * For single table DDLs, only Table is set. * For multi-table DDLs, 'from' and 'to' tables are set as needed. * The vttablet ddl plan had unused fields. They've been deleted. * The permissions code has been updated to use the new table names. Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
|
@slanning you may also review this. |
slanning
left a comment
There was a problem hiding this comment.
I didn't manage to break it yet, so looks good to me.
|
These JSONs are not for Basically, In a way, even As to why it accepts |
rename and drop allow multiple tables in the DDL.
This change adds support for them.
Signed-off-by: Sugu Sougoumarane ssougou@gmail.com