File tree Expand file tree Collapse file tree
sql/core/src/test/resources/sql-tests/inputs/postgreSQL Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -230,16 +230,16 @@ select max(min(unique1)) from tenk1;
230230-- [SPARK-27986] Support Aggregate Expressions with filter
231231-- FILTER tests
232232
233- -- select min(unique1) filter (where unique1 > 100) from tenk1;
233+ select min (unique1) filter (where unique1 > 100 ) from tenk1;
234234
235- -- select sum(1/ten) filter (where ten > 0) from tenk1;
235+ select sum (1 / ten) filter (where ten > 0 ) from tenk1;
236236
237237-- select ten, sum(distinct four) filter (where four::text ~ '123') from onek a
238238-- group by ten;
239239
240- -- select ten, sum(distinct four) filter (where four > 10) from onek a
241- -- group by ten
242- -- having exists (select 1 from onek b where sum(distinct a.four) = b.four);
240+ select ten, sum (distinct four) filter (where four > 10 ) from onek a
241+ group by ten
242+ having exists (select 1 from onek b where sum (distinct a .four ) = b .four );
243243
244244-- [SPARK-28682] ANSI SQL: Collation Support
245245-- select max(foo COLLATE "C") filter (where (bar collate "POSIX") > '0')
You can’t perform that action at this time.
0 commit comments