You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Steve Carlin (Jira)" <ji...@apache.org> on 2024/11/21 17:41:00 UTC

[jira] [Created] (IMPALA-13562) More test cases are needed for ntile, cume_dist, and percent_rank functions

Steve Carlin created IMPALA-13562:
-------------------------------------

             Summary: More test cases are needed for ntile, cume_dist, and percent_rank functions
                 Key: IMPALA-13562
                 URL: https://issues.apache.org/jira/browse/IMPALA-13562
             Project: IMPALA
          Issue Type: Improvement
            Reporter: Steve Carlin


The cume_dist, ntile, and percent_rank functions have special code which rewrites the function and breaks it into various parts.

One of the steps involves changing the "order by" key in the analytic expression.

We do have one current test that has an order by clause in exprs.test.

For IMPALA-13481, I am adding a second test which tests an "order by desc" clause. 

However, there are a couple of order by cases that should also be tested including when there are multiple columns in the order by clause and when the null direction is changed.



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