removed debug cerr

This commit is contained in:
Dmitry 2020-04-18 13:04:49 +03:00
parent 25cd4ce132
commit 3a18982e2b
3 changed files with 1 additions and 6 deletions

View File

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

View File

@ -58,7 +58,7 @@ void ISource::work()
}
// {
// current_chunk = std::current_exception();
// ready_to_push = true;
// has_input = true;
// got_exception = true;
// }
}

View File

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