mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
fix getArgumentsThatAreAlwaysConstant in toDateTime64
This commit is contained in:
parent
674cddc969
commit
a43c4d3f9f
@ -2147,7 +2147,7 @@ public:
|
||||
if constexpr (std::is_same_v<ToDataType, DataTypeString>)
|
||||
return {};
|
||||
else if constexpr (std::is_same_v<ToDataType, DataTypeDateTime64>)
|
||||
return {2};
|
||||
return {1, 2};
|
||||
return {1};
|
||||
}
|
||||
bool canBeExecutedOnDefaultArguments() const override { return false; }
|
||||
|
Loading…
Reference in New Issue
Block a user