Try fix tests.

This commit is contained in:
Nikolai Kochetov 2020-05-15 12:06:21 +03:00
parent 83d420e608
commit 34ce5bec48
2 changed files with 5 additions and 2 deletions

View File

@ -70,7 +70,11 @@ public:
return std::make_shared<DataTypeUInt8>();
}
bool useDefaultImplementationForConstants() const override { return true; }
bool useDefaultImplementationForConstants() const override
{
/// Never return constant for -IgnoreSet functions to avoid constant folding.
return !ignore_set;
}
bool useDefaultImplementationForNulls() const override { return null_is_skipped; }

View File

@ -207,7 +207,6 @@ SRCS(
ifNull.cpp
IFunction.cpp
ignore.cpp
ignoreExceptNull.cpp
in.cpp
intDiv.cpp
intDivOrZero.cpp