mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Merge pull request #34975 from Vector-Similarity-Search-for-ClickHouse/fix-typo
Fix typo
This commit is contained in:
commit
f48f35cad0
@ -822,7 +822,7 @@ RangesInDataParts MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipInd
|
|||||||
{
|
{
|
||||||
auto [it, inserted] = merged_indices.try_emplace({index_helper->index.type, index_helper->getGranularity()});
|
auto [it, inserted] = merged_indices.try_emplace({index_helper->index.type, index_helper->getGranularity()});
|
||||||
if (inserted)
|
if (inserted)
|
||||||
it->second.condition = index_helper->createIndexMergedCondtition(query_info, metadata_snapshot);
|
it->second.condition = index_helper->createIndexMergedCondition(query_info, metadata_snapshot);
|
||||||
|
|
||||||
it->second.addIndex(index_helper);
|
it->second.addIndex(index_helper);
|
||||||
}
|
}
|
||||||
|
@ -84,7 +84,7 @@ MergeTreeIndexConditionPtr MergeTreeIndexHypothesis::createIndexCondition(
|
|||||||
throw Exception("Not supported", ErrorCodes::LOGICAL_ERROR);
|
throw Exception("Not supported", ErrorCodes::LOGICAL_ERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
MergeTreeIndexMergedConditionPtr MergeTreeIndexHypothesis::createIndexMergedCondtition(
|
MergeTreeIndexMergedConditionPtr MergeTreeIndexHypothesis::createIndexMergedCondition(
|
||||||
const SelectQueryInfo & query_info, StorageMetadataPtr storage_metadata) const
|
const SelectQueryInfo & query_info, StorageMetadataPtr storage_metadata) const
|
||||||
{
|
{
|
||||||
return std::make_shared<MergeTreeIndexhypothesisMergedCondition>(
|
return std::make_shared<MergeTreeIndexhypothesisMergedCondition>(
|
||||||
|
@ -70,7 +70,7 @@ public:
|
|||||||
MergeTreeIndexConditionPtr createIndexCondition(
|
MergeTreeIndexConditionPtr createIndexCondition(
|
||||||
const SelectQueryInfo & query, ContextPtr context) const override;
|
const SelectQueryInfo & query, ContextPtr context) const override;
|
||||||
|
|
||||||
MergeTreeIndexMergedConditionPtr createIndexMergedCondtition(
|
MergeTreeIndexMergedConditionPtr createIndexMergedCondition(
|
||||||
const SelectQueryInfo & query_info, StorageMetadataPtr storage_metadata) const override;
|
const SelectQueryInfo & query_info, StorageMetadataPtr storage_metadata) const override;
|
||||||
|
|
||||||
bool mayBenefitFromIndexForIn(const ASTPtr & node) const override;
|
bool mayBenefitFromIndexForIn(const ASTPtr & node) const override;
|
||||||
|
@ -164,7 +164,7 @@ struct IMergeTreeIndex
|
|||||||
virtual MergeTreeIndexConditionPtr createIndexCondition(
|
virtual MergeTreeIndexConditionPtr createIndexCondition(
|
||||||
const SelectQueryInfo & query_info, ContextPtr context) const = 0;
|
const SelectQueryInfo & query_info, ContextPtr context) const = 0;
|
||||||
|
|
||||||
virtual MergeTreeIndexMergedConditionPtr createIndexMergedCondtition(
|
virtual MergeTreeIndexMergedConditionPtr createIndexMergedCondition(
|
||||||
const SelectQueryInfo & /*query_info*/, StorageMetadataPtr /*storage_metadata*/) const
|
const SelectQueryInfo & /*query_info*/, StorageMetadataPtr /*storage_metadata*/) const
|
||||||
{
|
{
|
||||||
throw Exception(ErrorCodes::NOT_IMPLEMENTED,
|
throw Exception(ErrorCodes::NOT_IMPLEMENTED,
|
||||||
|
Loading…
Reference in New Issue
Block a user