MCPcopy Create free account
hub / github.com/ByConity/ByConity / getColumnsRequiredForSampling

Method getColumnsRequiredForSampling

src/Storages/StorageInMemoryMetadata.cpp:632–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

630}
631
632Names StorageInMemoryMetadata::getColumnsRequiredForSampling() const
633{
634 if (hasSamplingKey())
635 return sampling_key.expression->getRequiredColumns();
636 return {};
637}
638
639const KeyDescription & StorageInMemoryMetadata::getPrimaryKey() const
640{

Callers 3

fillDataMethod · 0.80
generateMethod · 0.80

Calls 1

getRequiredColumnsMethod · 0.45

Tested by

no test coverage detected