Sanjana Malhotra has posted comments on this change. ( 
https://gerrit.cloudera.org/25418 )

Change subject: IMPALA-15561: [DOCS] AVG_COLLECTION_SIZE query option
......................................................................


Patch Set 3:

(5 comments)

https://gerrit.cloudera.org/#/c/25418/2/docs/impala.ditamap
File docs/impala.ditamap:

https://gerrit.cloudera.org/#/c/25418/2/docs/impala.ditamap@196
PS2, Line 196:         <topicref href="topics/impala_appx_count_distinct.xml"/>
> Two small things here: the rev should be "5.0.0" instead of "4.4.0", since
Done


https://gerrit.cloudera.org/#/c/25418/2/docs/topics/impala_avg_collection_size.xml
File docs/topics/impala_avg_collection_size.xml:

https://gerrit.cloudera.org/#/c/25418/2/docs/topics/impala_avg_collection_size.xml@38
PS2, Line 38:       average number of elements the planner assumes each ARRAY 
or MAP value contains, used for
> "Average size (in rows) of collection elements" sounds like it's describing
Done


https://gerrit.cloudera.org/#/c/25418/2/docs/topics/impala_avg_collection_size.xml@47
PS2, Line 47:     <p 
conref="../shared/impala_common.xml#common/usage_notes_blurb"/>
> I think this might be covered already by the type line above. Instead, it c
Done


https://gerrit.cloudera.org/#/c/25418/2/docs/topics/impala_avg_collection_size.xml@62
PS2, Line 62:       the total number of collection elements by the number of 
collection instances. Use
> Just a tip that might make this easier for users: the query profile already
Can you point me to the topic you are talking about?
For now I have updated as per my understanding


https://gerrit.cloudera.org/#/c/25418/2/docs/topics/impala_avg_collection_size.xml@73
PS2, Line 73:     <p><b>Limitation:</b> All collection columns referenced in 
the query share the same value,
> Would it be possible to use a real table here, like functional_parquet.comp
updated example with -- Default behavior (10 elements per collection)
EXPLAIN SELECT UNNEST(int_array) FROM functional_parquet.complextypestbl;

-- Optimize for larger collections (100 elements average)
SET AVG_COLLECTION_SIZE=100;
EXPLAIN SELECT UNNEST(int_array) FROM functional_parquet.complextypestbl;



--
To view, visit https://gerrit.cloudera.org/25418
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I2e36dfd364f93f642797d88da40cd4aabfec4f72
Gerrit-Change-Number: 25418
Gerrit-PatchSet: 3
Gerrit-Owner: Sanjana Malhotra <[email protected]>
Gerrit-Reviewer: Anubhav Jindal <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Sanjana Malhotra <[email protected]>
Gerrit-Reviewer: Xuebin Su <[email protected]>
Gerrit-Comment-Date: Thu, 26 Nov 2026 05:32:55 +0000
Gerrit-HasComments: Yes

Reply via email to