Sign in
apache
/
incubator-tajo
/
6aa96fa9bc58d002efeae03f775162ccee6545e5
/
.
/
tajo-core
/
tajo-core-backend
/
src
/
test
/
resources
/
queries
/
TestCTASQuery
/
CtasWithLimit.sql
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
;