Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.0.10
-
None
-
Centos 7
-
2018-03, 2018-04
Description
When trying to rename a table in a database that is not active (via USE), rename attempts to use the current database instead. eg:
CREATE TABLE IF NOT EXISTS data.blah (
`EntryID` BIGINT(20) UNSIGNED NOT NULL
) ENGINE=columnstore;
USE test;
RENAME TABLE data.blah TO data.blah2;
generates the error
Internal error: CAL0001: Alter table Failed: IDB-2006: 'test.blah' does not exist in Columnstore.
Effectively ignoring the database name (data in this care) in the Rename table statement.