[ 
https://issues.apache.org/jira/browse/IMPALA-15385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18118852#comment-18118852
 ] 

ASF subversion and git services commented on IMPALA-15385:
----------------------------------------------------------

Commit a01435f32bbf90ef44a1a4fed4d4dbc46c1325c3 in impala's branch 
refs/heads/master from Xuebin Su
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=a01435f32 ]

IMPALA-15385: Make AVG_COLLECTION_SIZE a query option

AVG_COLLECTION_SIZE affects the cardinalty estimation of some plan
nodes, which in turn affects the memory estimation.

This patch changes AVG_COLLECTION_SIZE from a hard-coded constant to
a query option so that user can set it for each query.

Testing:
- Added a new PlannerTest.

Change-Id: I518f76b38ba926e6ece196f6e90c60f1fa15b5ff
Reviewed-on: http://gerrit.cloudera.org:8080/24902
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> AVG_COLLECTION_SIZE is hard-coded
> ---------------------------------
>
>                 Key: IMPALA-15385
>                 URL: https://issues.apache.org/jira/browse/IMPALA-15385
>             Project: IMPALA
>          Issue Type: Improvement
>            Reporter: Xuebin Su
>            Assignee: Xuebin Su
>            Priority: Critical
>
> As a result, it cannot be changed when planning the query.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to