[Improvement](load) turn enable_vectorized_load on by default (#11833)

This commit is contained in:
Gabriel
2022-08-18 14:43:09 +08:00
committed by GitHub
parent cac317430f
commit b8a33d2629
2 changed files with 4 additions and 2 deletions

View File

@ -588,7 +588,9 @@ void Block::clear_column_data(int column_size) noexcept {
}
}
for (auto& d : data) {
DCHECK(d.column->use_count() == 1);
if (UNLIKELY(d.column->use_count() != 1)) {
LOG(WARNING) << "Ref count of column is " << d.column->use_count();
}
(*std::move(d.column)).assume_mutable()->clear();
}
}

View File

@ -1676,7 +1676,7 @@ public class Config extends ConfigBase {
public static boolean enable_quantile_state_type = false;
@ConfField
public static boolean enable_vectorized_load = false;
public static boolean enable_vectorized_load = true;
@ConfField(mutable = false, masterOnly = true)
public static int backend_rpc_timeout_ms = 60000; // 1 min