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

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

Commit 199c0f2f9f5ef96e232c53579a21009242ea866c in impala's branch 
refs/heads/master from [~tlipcon]
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=199c0f2 ]

IMPALA-7140 fix: fix NDV calculation for partition columns in LocalFsTable

For partition columns, we were previously calculating the NDV by adding
the count of partitions plus the count of null-partitions. However, all
of the null partitions have the same value (NULL) so they only
contribute one distinct value, regardless of how many there might be.

This fixes an existing test case in test_compute_stats so doesn't
include new tests.

Change-Id: I0a86750d52dcd744ace030a3c1ec70510d054acf
Reviewed-on: http://gerrit.cloudera.org:8080/11230
Reviewed-by: Vuk Ercegovac <[email protected]>
Reviewed-by: Bharath Vissapragada <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Build out support for HDFS tables and views in LocalCatalog
> -----------------------------------------------------------
>
>                 Key: IMPALA-7140
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7140
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Catalog, Frontend
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Major
>             Fix For: Impala 3.1.0
>
>
> This subtask tracks the work to build out basic read-only support for HDFS 
> tables and views in the LocalCatalog implementation:
> - loading table schemas
> - loading partitions
> - loading file information from HDFS
> This work will be broken up into a number of patches to keep each piece 
> reviewable. Once this subtask is complete we should be able to plan most 
> simple read-only queries.



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

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

Reply via email to