Updated FunctionsConversion.h

This commit is contained in:
Yarik Briukhovetskyi 2023-09-01 17:40:04 +02:00 committed by GitHub
parent 1e01aa917a
commit 278cc494a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2840,7 +2840,7 @@ protected:
bool useDefaultImplementationForNulls() const override { return false; }
/// CAST(Nothing, T) -> T
bool useDefaultImplementationForNothing() const override { return false; }
bool useDefaultImplementationForConstants() const override { return false; }
bool useDefaultImplementationForConstants() const override { return true; }
bool useDefaultImplementationForLowCardinalityColumns() const override { return false; }
ColumnNumbers getArgumentsThatAreAlwaysConstant() const override { return {1}; }