You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Paul Rogers (JIRA)" <ji...@apache.org> on 2019/01/22 00:18:00 UTC

[jira] [Created] (IMPALA-8095) Detailed expression cardinality tests

Paul Rogers created IMPALA-8095:
-----------------------------------

             Summary: Detailed expression cardinality tests
                 Key: IMPALA-8095
                 URL: https://issues.apache.org/jira/browse/IMPALA-8095
             Project: IMPALA
          Issue Type: Improvement
          Components: Frontend
    Affects Versions: Impala 3.1.0
            Reporter: Paul Rogers
            Assignee: Paul Rogers


Cardinality is a critical input to the query planning process, especially join planning. Impala has many high-level end-to-end tests that implicitly test cardinality at the "wholesale" level: A test will produce a wrong result if the cardinality is badly wrong.

But, at present, no detailed unit tests exist for this topic. This ticket asks to add tests for:

* Table cardinality, NDV values and null count in metadata retrieved from HMS.
* Table cardinality, NDV values and null counts in metadata presented to the query.
* Expression NDV and selectivity values (which derive from table cardinality and column NDV.)

Since none of the existing "functional" tables provide the level of detail needed for these tests, add a new test table specifically for this task.



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

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