Anshula Jain has uploaded this change for review. ( 
https://gerrit.cloudera.org/25371


Change subject: IMPALA-13488: Make CollectionValueBuilder initial capacity 
configurable
......................................................................

IMPALA-13488: Make CollectionValueBuilder initial capacity configurable

CollectionValueBuilder currently uses a hardcoded initial tuple capacity of 4 
when allocating memory for collection values.

Introduce a new query option, 
`COLLECTION_VALUE_BUILDER_INITIAL_TUPLE_CAPACITY`, to make this initial 
capacity configurable.

The default value remains 4, preserving the existing behavior. The new option 
allows users to adjust the initial allocation based on their workload, 
potentially reducing the number of reallocations required while building 
collection values.

Changes:
- Add `collection_value_builder_initial_tuple_capacity` to TQueryOptions with a 
default value of 4.
- Register the new query option in QueryOptions.
- Update CollectionValueBuilder to use the configured query option instead of a 
hardcoded default.

Change-Id: I5affbbb31c3bd0508e50501a05688ab1ee8a9503
---
M be/src/runtime/collection-value-builder.h
M be/src/service/query-options.h
M common/thrift/ImpalaService.thrift
M common/thrift/Query.thrift
4 files changed, 30 insertions(+), 8 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/71/25371/1
--
To view, visit https://gerrit.cloudera.org/25371
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5affbbb31c3bd0508e50501a05688ab1ee8a9503
Gerrit-Change-Number: 25371
Gerrit-PatchSet: 1
Gerrit-Owner: Anshula Jain <[email protected]>

Reply via email to