mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
removed debug cerr
This commit is contained in:
parent
25cd4ce132
commit
3a18982e2b
@ -2097,7 +2097,6 @@ void InterpreterSelectQuery::executeOrderOptimized(QueryPipeline & pipeline, Inp
|
||||
const Settings & settings = context->getSettingsRef();
|
||||
|
||||
bool need_finish_sorting = (input_sorting_info->order_key_prefix_descr.size() < output_order_descr.size());
|
||||
std::cerr << "\n Need finish: " << need_finish_sorting << "\n";
|
||||
if (pipeline.getNumStreams() > 1)
|
||||
{
|
||||
UInt64 limit_for_merging = (need_finish_sorting ? 0 : limit);
|
||||
|
@ -58,7 +58,7 @@ void ISource::work()
|
||||
}
|
||||
// {
|
||||
// current_chunk = std::current_exception();
|
||||
// ready_to_push = true;
|
||||
// has_input = true;
|
||||
// got_exception = true;
|
||||
// }
|
||||
}
|
||||
|
@ -27,7 +27,6 @@ FinishSortingTransform::FinishSortingTransform(
|
||||
: SortingTransform(header, description_to_sort_, max_merged_block_size_, limit_)
|
||||
, description_sorted(description_sorted_)
|
||||
{
|
||||
std::cerr << "Finishing created.\n";
|
||||
const auto & sample = inputs.front().getHeader();
|
||||
|
||||
/// Replace column names to column position in description_sorted.
|
||||
@ -49,8 +48,6 @@ static bool less(const Columns & lhs, const Columns & rhs, size_t i, size_t j, c
|
||||
{
|
||||
for (const auto & elem : descr)
|
||||
{
|
||||
std::cerr << elem.column_name << ":" << elem.column_number << " ";
|
||||
|
||||
size_t ind = elem.column_number;
|
||||
int res = elem.direction * lhs[ind]->compareAt(i, j, *rhs[ind], elem.nulls_direction);
|
||||
if (res < 0)
|
||||
@ -58,7 +55,6 @@ static bool less(const Columns & lhs, const Columns & rhs, size_t i, size_t j, c
|
||||
else if (res > 0)
|
||||
return false;
|
||||
}
|
||||
std::cerr << " ----> equal!";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user