mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Trigger CI
This commit is contained in:
parent
32e52d1e28
commit
084e261687
@ -259,7 +259,10 @@ StorageReplicatedMergeTree::StorageReplicatedMergeTree(
|
||||
if (!attach)
|
||||
{
|
||||
if (!getDataParts().empty())
|
||||
throw Exception("Data directory for table already containing data parts - probably it was unclean DROP table or manual intervention. You must either clear directory by hand or use ATTACH TABLE instead of CREATE TABLE if you need to use that parts.", ErrorCodes::INCORRECT_DATA);
|
||||
throw Exception("Data directory for table already containing data parts"
|
||||
" - probably it was unclean DROP table or manual intervention."
|
||||
" You must either clear directory by hand or use ATTACH TABLE"
|
||||
" instead of CREATE TABLE if you need to use that parts.", ErrorCodes::INCORRECT_DATA);
|
||||
|
||||
try
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user