MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / hasUniqueKey

Method hasUniqueKey

src/Storages/StorageInMemoryMetadata.cpp:654–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

652}
653
654bool StorageInMemoryMetadata::hasUniqueKey() const
655{
656 return !unique_key.column_names.empty();
657}
658
659Names StorageInMemoryMetadata::getUniqueKeyColumns() const
660{

Callers 15

selectPartsToMergeMethod · 0.80
optimizeMethod · 0.80
replacePartitionFromMethod · 0.80
movePartitionToTableMethod · 0.80
getCheckTaskListMethod · 0.80
backupDataMethod · 0.80
createFunction · 0.80
checkPropertiesMethod · 0.80
checkAlterIsPossibleMethod · 0.80
alterPartitionMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected