Description
Right now, when an aggregate function is used as window function and DISTINCT is used, Hive's parser silently drop the DISTINCT keyword. It is fine to not support DISTINCT aggregation in window function. But, it is not good to silently drop the keyword.