[ 
https://issues.apache.org/jira/browse/IMPALA-8566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon updated IMPALA-8566:
--------------------------------
    Description: IMPALA-7659 added the population of NULL counts while 
computing stats, but this functionality isn't working properly for incremental 
stats. The query is produced correctly, but the null count set in the table is 
one lower than it should be. In the case that the table has no nulls, this ends 
up setting a '-1' count, which is interpreted as 'unknown'. In the case that 
there are nulls, we'll just be a little inaccurate.  (was: IMPALA-7659 added 
the population of NULL counts while computing stats, but this functionality 
isn't working properly for incremental stats. The query is produced correctly, 
but the null count isn't being properly propagated back to the table.)
        Summary: COMPUTE INCREMENTAL STATS sets num_nulls off-by-one  (was: 
COMPUTE INCREMENTAL STATS does not set num_nulls)

> COMPUTE INCREMENTAL STATS sets num_nulls off-by-one
> ---------------------------------------------------
>
>                 Key: IMPALA-8566
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8566
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 3.2.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Major
>
> IMPALA-7659 added the population of NULL counts while computing stats, but 
> this functionality isn't working properly for incremental stats. The query is 
> produced correctly, but the null count set in the table is one lower than it 
> should be. In the case that the table has no nulls, this ends up setting a 
> '-1' count, which is interpreted as 'unknown'. In the case that there are 
> nulls, we'll just be a little inaccurate.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to