Fix function ignore with LowCardinality argument.

This commit is contained in:
Nikolai Kochetov 2021-01-13 17:45:19 +03:00
parent 1d6bfe8ad7
commit 33d007dc46

View File

@ -30,6 +30,10 @@ public:
bool useDefaultImplementationForNulls() const override { return false; }
/// We should never return LowCardinality result, cause we declare that result is always constant zero.
/// (in getResultIfAlwaysReturnsConstantAndHasArguments)
bool useDefaultImplementationForLowCardinalityColumns() const override { return false; }
String getName() const override
{
return name;