Description
SPARK-27986 only supportsĀ Filter expression without DISTINCT.
We need to supportĀ Filter expression allow simultaneous use of DISTINCT
PostgreSQL support:
select ten, sum(distinct four) filter (where four > 10) from onek group by ten;