mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +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>)
|
if constexpr (std::is_same_v<ToDataType, DataTypeString>)
|
||||||
return {};
|
return {};
|
||||||
else if constexpr (std::is_same_v<ToDataType, DataTypeDateTime64>)
|
else if constexpr (std::is_same_v<ToDataType, DataTypeDateTime64>)
|
||||||
return {2};
|
return {1, 2};
|
||||||
return {1};
|
return {1};
|
||||||
}
|
}
|
||||||
bool canBeExecutedOnDefaultArguments() const override { return false; }
|
bool canBeExecutedOnDefaultArguments() const override { return false; }
|
||||||
|
Loading…
Reference in New Issue
Block a user