mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Merge pull request #41105 from ClickHouse/vdimir/upd_storage_rdb_sample_block
This commit is contained in:
commit
cc7292df74
@ -523,8 +523,7 @@ Chunk StorageEmbeddedRocksDB::getByKeys(
|
|||||||
|
|
||||||
Block StorageEmbeddedRocksDB::getSampleBlock(const Names &) const
|
Block StorageEmbeddedRocksDB::getSampleBlock(const Names &) const
|
||||||
{
|
{
|
||||||
auto metadata = getInMemoryMetadataPtr();
|
return getInMemoryMetadataPtr()->getSampleBlock();
|
||||||
return metadata ? metadata->getSampleBlock() : Block();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Chunk StorageEmbeddedRocksDB::getBySerializedKeys(
|
Chunk StorageEmbeddedRocksDB::getBySerializedKeys(
|
||||||
|
Loading…
Reference in New Issue
Block a user