mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 17:32:32 +00:00
Temporarily modify ErrorCodes to avoid conflicts.
This commit is contained in:
parent
efb041c4d5
commit
da2a041d68
@ -582,9 +582,6 @@
|
||||
M(697, CANNOT_RESTORE_TO_NONENCRYPTED_DISK) \
|
||||
M(698, INVALID_REDIS_STORAGE_TYPE) \
|
||||
M(699, INVALID_REDIS_TABLE_STRUCTURE) \
|
||||
M(700, USER_SESSION_LIMIT_EXCEEDED) \
|
||||
M(701, CLUSTER_DOESNT_EXIST) \
|
||||
M(702, OPPOSITE_SIGN_DATA_TYPE_NOT_FOUND) \
|
||||
\
|
||||
M(999, KEEPER_EXCEPTION) \
|
||||
M(1000, POCO_EXCEPTION) \
|
||||
|
@ -23,7 +23,6 @@ namespace ErrorCodes
|
||||
{
|
||||
extern const int LOGICAL_ERROR;
|
||||
extern const int DATA_TYPE_CANNOT_BE_PROMOTED;
|
||||
extern const int OPPOSITE_SIGN_DATA_TYPE_NOT_FOUND;
|
||||
extern const int ILLEGAL_COLUMN;
|
||||
}
|
||||
|
||||
@ -74,7 +73,8 @@ DataTypePtr IDataType::promoteNumericType() const
|
||||
|
||||
DataTypePtr IDataType::oppositeSignDataType() const
|
||||
{
|
||||
throw Exception(ErrorCodes::OPPOSITE_SIGN_DATA_TYPE_NOT_FOUND, "Opposite sign data type not found for {}.", getName());
|
||||
// TODO: Should use ErrorCodes::OPPOSITE_SIGN_DATA_TYPE_NOT_FOUND.
|
||||
throw Exception(702, "Opposite sign data type not found for {}.", getName());
|
||||
}
|
||||
|
||||
size_t IDataType::getSizeOfValueInMemory() const
|
||||
|
Loading…
Reference in New Issue
Block a user