Fix error

This commit is contained in:
Alexey Milovidov 2021-05-07 04:45:29 +03:00
parent a1855f3d5b
commit 9c0dacd063

View File

@ -50,7 +50,7 @@ public:
const auto & src = arguments[0]; const auto & src = arguments[0];
const auto & col = *src.column; const auto & col = *src.column;
auto res_column = ColumnUInt64::create(input_rows_count); auto res_column = ColumnInt64::create(input_rows_count);
auto & result_data = res_column->getData(); auto & result_data = res_column->getData();
const auto & source_data = typeid_cast<const ColumnDecimal<DateTime64> &>(col).getData(); const auto & source_data = typeid_cast<const ColumnDecimal<DateTime64> &>(col).getData();