Skip to content

Commit

Permalink
fix cherry-pick mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Shanfeng Pang committed Apr 30, 2024
1 parent 160d837 commit cbd3e35
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/VectorIndex/Processors/ReadWithHybridSearch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,16 +212,6 @@ ReadWithHybridSearch::ReadWithHybridSearch(
analyzed_result_ptr_,
enable_parallel_reading)
{
if (sample_factor_column_queried)
{
/// Only _sample_factor virtual column is added by ReadFromMergeTree
/// Other virtual columns are added by MergeTreeBaseSelectProcessor.
auto type = std::make_shared<DataTypeFloat64>();
output_stream->header.insert({type->createColumn(), type, "_sample_factor"});
}

if (enable_parallel_reading)
read_task_callback = context->getMergeTreeReadTaskCallback();
}

void ReadWithHybridSearch::initializePipeline(QueryPipelineBuilder & pipeline, const BuildQueryPipelineSettings &)
Expand Down

0 comments on commit cbd3e35

Please sign in to comment.