blob: 9c99a66220c2670b3a4c25d2c2274e8a2bbd4187 [file] [log] [blame]
create table testCtasWithLimit (col1 int4, col2 int4) partition by column(key float8) as
select
sum(l_orderkey) as total1,
avg(l_partkey) as total2,
l_quantity as key
from
lineitem
group by
l_quantity
order by
l_quantity
limit
3;