You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "HappenLee (via GitHub)" <gi...@apache.org> on 2023/03/09 11:50:25 UTC
[GitHub] [doris] HappenLee commented on a diff in pull request #17594: [Feature](parquet-reader) Implements dict filter functionality parquet reader.
HappenLee commented on code in PR #17594:
URL: https://github.com/apache/doris/pull/17594#discussion_r1130886903
##########
be/src/vec/data_types/data_type.cpp:
##########
@@ -56,6 +56,7 @@ void IDataType::update_avg_value_size_hint(const IColumn& column, double& avg_va
ColumnPtr IDataType::create_column_const(size_t size, const Field& field) const {
auto column = create_column();
+ column->reserve(size);
Review Comment:
const column nested column only need size == 1, do not need reserve `size`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org