Krisztian Kasa created HIVE-24990:
-------------------------------------
Summary: Support distinct in window aggregation in vectorized mode
Key: HIVE-24990
URL: https://issues.apache.org/jira/browse/HIVE-24990
Project: Hive
Issue Type: Improvement
Components: UDF, Vectorization
Reporter: Krisztian Kasa
PTF operator can not be vectorized if query has windowing function with
*distinct* because this version of the aggregate functions are not implemented
yet.
{code}
SELECT sum(DISTINCT a) OVER (PARTITION BY b) FROM t1;
{code}
The only exception is *count*.
List of functions has vectorized version but does not have vectorized distinct
version
{code}
row_number
rank
dense_rank
min
max
sum
avg
first_value
last_value
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)