fix build

This commit is contained in:
Yarik Briukhovetskyi 2024-08-08 23:26:24 +02:00 committed by GitHub
parent 0ad6aa09ac
commit 94efbb0bf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5279,7 +5279,7 @@ REGISTER_FUNCTION(Conversion)
/// MySQL compatibility alias. Cannot be registered as alias,
/// because we don't want it to be normalized to toDate in queries,
/// otherwise CREATE DICTIONARY query breaks.
factory.registerFunction("DATE", &FunctionToDate::create, {}, FunctionFactory::CaseInsensitive);
factory.registerFunction("DATE", &FunctionToDate::create, {}, FunctionFactory::Case::Insensitive);
factory.registerFunction<FunctionToDate32>();
factory.registerFunction<FunctionToDateTime>();