mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Fix tests
This commit is contained in:
parent
b1c154ccb4
commit
496302cb1d
@ -3,7 +3,7 @@
|
||||
#include <IO/Operators.h>
|
||||
#include <Common/JSONBuilder.h>
|
||||
#include <Common/SipHash.h>
|
||||
|
||||
#include <DataTypes/Native.h>
|
||||
#include <Interpreters/JIT/compileFunction.h>
|
||||
#include <Interpreters/JIT/CompiledExpressionCache.h>
|
||||
|
||||
@ -91,7 +91,7 @@ void compileSortDescriptionIfNeeded(SortDescription & description, const DataTyp
|
||||
|
||||
for (const auto & type : sort_description_types)
|
||||
{
|
||||
if (!type->createColumn()->isComparatorCompilable())
|
||||
if (!type->createColumn()->isComparatorCompilable() || !canBeNativeType(*type))
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -176,9 +176,7 @@ SortingTransform::SortingTransform(
|
||||
|
||||
description.swap(description_without_constants);
|
||||
|
||||
std::cout << "SortingTransform::SortingTransform increase compile attemps " << increase_sort_description_compile_attempts << std::endl;
|
||||
compileSortDescriptionIfNeeded(description, sort_description_types, increase_sort_description_compile_attempts /*increase_compile_attemps*/);
|
||||
std::cout << "SortingTransform::SortingTransform compiled sort description " << description.compiled_sort_description << std::endl;
|
||||
}
|
||||
|
||||
SortingTransform::~SortingTransform() = default;
|
||||
|
Loading…
Reference in New Issue
Block a user