fix getArgumentsThatAreAlwaysConstant in toDateTime64

This commit is contained in:
taiyang-li 2024-09-05 12:13:41 +08:00
parent 674cddc969
commit a43c4d3f9f

View File

@ -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; }