Steve Carlin created IMPALA-14158:
-------------------------------------

             Summary: Calcite planner: nulls last not being handled correctly 
for analytical function
                 Key: IMPALA-14158
                 URL: https://issues.apache.org/jira/browse/IMPALA-14158
             Project: IMPALA
          Issue Type: Sub-task
            Reporter: Steve Carlin


The following query is putting nulls first in 

analytic-fns-tpcds-partitioned-topn.test





select *

from (

  select s_store_name, s_state, ss_list_price,

        rank() over (partition by s_store_name, s_state order by ss_list_price 
desc nulls last) rnk 

  from store_sales ss

      join store s on ss_store_sk = s_store_sk) v

where rnk <= 5;



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

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

Reply via email to