[
https://issues.apache.org/jira/browse/ASTERIXDB-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17913942#comment-17913942
]
ASF subversion and git services commented on ASTERIXDB-3546:
------------------------------------------------------------
Commit 3b0a5b10a3ce995ffe19424b9de28f881e16e110 in asterixdb's branch
refs/heads/master from murali4104
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=3b0a5b10a3 ]
[ASTERIXDB-3546][COMP] Use actual distinct estimate from sample if table size
is small
Details:
When the number of distincts obtained from the sample is small, then
we do not need to call the estimator.
Also refactored some code.
Ext-ref: MB-64886
Change-Id: I64cf90fb32fc5d1d2353352fee5240949bc96be9
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19311
Tested-by: Vijay Sarathy <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Vijay Sarathy <[email protected]>
Reviewed-by: <[email protected]>
> Use distinct estimate from sample if table size is smaller than targeted
> sample size
> ------------------------------------------------------------------------------------
>
> Key: ASTERIXDB-3546
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-3546
> Project: Apache AsterixDB
> Issue Type: Improvement
> Components: *DB - AsterixDB
> Reporter: murali krishna
> Priority: Major
>
> Our samples sizes are one of 1063 or 1063*4 or 1063*16.
> If the table size is smaller than the targeted sample size, then the estimate
> we get directly from the sample is the actual estimate. No need to call the
> estimator in such cases.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)