mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Add StorageID::getShortName()
This commit is contained in:
parent
8cc45bea7b
commit
3477ab52a7
@ -110,7 +110,7 @@ StorageID StorageID::fromDictionaryConfig(const Poco::Util::AbstractConfiguratio
|
||||
return res;
|
||||
}
|
||||
|
||||
String StorageID::getInternalDictionaryName() const
|
||||
String StorageID::getShortName() const
|
||||
{
|
||||
assertNotEmpty();
|
||||
if (hasUUID())
|
||||
|
@ -91,7 +91,9 @@ struct StorageID
|
||||
|
||||
/// If dictionary has UUID, then use it as dictionary name in ExternalLoader to allow dictionary renaming.
|
||||
/// ExternalDictnariesLoader::resolveDictionaryName(...) should be used to access such dictionaries by name.
|
||||
String getInternalDictionaryName() const;
|
||||
String getInternalDictionaryName() const { return getShortName(); }
|
||||
/// Get short, but unique, name.
|
||||
String getShortName() const;
|
||||
|
||||
private:
|
||||
StorageID() = default;
|
||||
|
Loading…
Reference in New Issue
Block a user