mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Add toDate MySQL compatibility alias
This commit is contained in:
parent
e066add261
commit
89b394ea57
@ -29,6 +29,9 @@ void registerFunctionsConversion(FunctionFactory & factory)
|
|||||||
factory.registerFunction<FunctionToDecimal256>();
|
factory.registerFunction<FunctionToDecimal256>();
|
||||||
|
|
||||||
factory.registerFunction<FunctionToDate>();
|
factory.registerFunction<FunctionToDate>();
|
||||||
|
/// MysQL compatibility alias.
|
||||||
|
factory.registerFunction<FunctionToDate>("DATE", FunctionFactory::CaseInsensitive);
|
||||||
|
|
||||||
factory.registerFunction<FunctionToDateTime>();
|
factory.registerFunction<FunctionToDateTime>();
|
||||||
factory.registerFunction<FunctionToDateTime32>();
|
factory.registerFunction<FunctionToDateTime32>();
|
||||||
factory.registerFunction<FunctionToDateTime64>();
|
factory.registerFunction<FunctionToDateTime64>();
|
||||||
|
Loading…
Reference in New Issue
Block a user