Closed GoogleCodeExporter closed 8 years ago
Original comment by westm...@gmail.com
on 8 Jul 2013 at 9:47
Original comment by westm...@gmail.com
on 19 Jul 2013 at 4:36
[deleted comment]
I've reduced q8 and q9 to q8_mod.aql and q9_mod.aql (both attached), and they
get the same error when run under the same conditions as the original queries.
Running subqueries of the attached queries does not produce the error.
Original comment by cmcintyr...@gmail.com
on 29 Jul 2013 at 6:34
Attachments:
Here are the optimized logical plans for q08, q09, q08_mod, and q09_mod.
Original comment by cmcintyr...@gmail.com
on 29 Jul 2013 at 6:36
Attachments:
This is in the plan for q8:
unnest $$9 <- function-call: asterix:scan-collection, Args:[%0->$$62]
-- UNNEST |PARTITIONED|
exchange
-- ONE_TO_ONE_EXCHANGE |PARTITIONED|
group by ([]) decor ([]) {
aggregate [$$62] <- [function-call: asterix:listify, Args:[function-call: asterix:closed-record-constructor, Args:[AString: {o_orderdate}, %0->$$136, AString: {l_partkey}, %0->$$140, AString: {l_discount}, %0->$$141, AString: {l_extendedprice}, %0->$$142, AString: {l_suppkey}, %0->$$143]]]
-- AGGREGATE |LOCAL|
select (function-call: algebricks:not, Args:[function-call: algebricks:is-null, Args:[%0->$$124]])
-- STREAM_SELECT |LOCAL|
nested tuple source
-- NESTED_TUPLE_SOURCE |LOCAL|
}
-- PRE_CLUSTERED_GROUP_BY[] |PARTITIONED|
exchange
It seems that the unnest should cancel the groupby with listify.
Original comment by westm...@gmail.com
on 29 Jul 2013 at 10:24
Original comment by westm...@gmail.com
on 2 Aug 2013 at 5:55
asterixdb: yingyi/asterix_fix
hyracks: yingyi/fullstack_fix
Original comment by buyingyi@gmail.com
on 7 Aug 2013 at 8:05
Original comment by buyingyi@gmail.com
on 8 Aug 2013 at 5:37
Original comment by westm...@gmail.com
on 9 Aug 2013 at 6:04
Original issue reported on code.google.com by
cmcintyr...@gmail.com
on 8 Jul 2013 at 9:43Attachments: