Merge pull request #34975 from Vector-Similarity-Search-for-ClickHouse/fix-typo

Fix typo
This commit is contained in:
Filatenkov Artur 2022-03-02 09:59:06 +03:00 committed by GitHub
commit f48f35cad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -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);
} }

View File

@ -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>(

View File

@ -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;

View File

@ -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,