You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[yugabyte#27315] DocDB: Remove code to change the table namespace via AlterTable API
Summary:
Some DocDB handlers (like `CatalogManager::AlterTable()`, `YbTableAlterer`, etc.)
have ability to change the table namespace.
This functionality is NOT used by YCQL & YSQL.
So, it can be safely deleted to clean & simplify the source code.
Related variables in PBs are also removed (used entry IDs are reserved).
Upgrade/Downgrade sefaty:
The change is safe when the Master is on new version and TServers are on old version because the removed
value `AlterTableRequestPB::new_namespace` is ignored now.
NOTE: The Masters must be upgraded before TServers.
Test Plan:
Unit tests:
./yb_build.sh --cxx-test master-test --gtest_filter MasterTest.TestTablesWithNamespace
./yb_build.sh --cxx-test master-test --gtest_filter MasterTest.TestFullTableName
YSQL:
./yb_build.sh --java-test org.yb.pgsql.TestPgAlterTable#testRenameTableIfExists
./yb_build.sh --java-test org.yb.pgsql.TestPgAlterTable
YCQL:
./yb_build.sh --java-test org.yb.cql.TestAlterTable
Reviewers: mihnea, hsunder
Reviewed By: hsunder
Subscribers: hsunder, yql
Differential Revision: https://phorge.dev.yugabyte.com/D44149
0 commit comments