[Improvement](vectorized) change static_cast to assert_cast for reference (#12379)
* [Improvement](vectorized) change `static_cast` to `assert_cast` for reference
This commit is contained in:
@ -226,7 +226,7 @@ MutableColumnPtr ColumnVector<T>::clone_resized(size_t size) const {
|
||||
auto res = this->create();
|
||||
|
||||
if (size > 0) {
|
||||
auto& new_col = static_cast<Self&>(*res);
|
||||
auto& new_col = assert_cast<Self&>(*res);
|
||||
new_col.data.resize(size);
|
||||
|
||||
size_t count = std::min(this->size(), size);
|
||||
|
||||
Reference in New Issue
Block a user