Closed jd-zhang closed 3 years ago
similar case:
drop table if exists mlparted; create table mlparted (a int, b int) partition by range (a, b); create table mlparted1 (b int not null, a int not null) partition by range ((b+0)); create table mlparted11 (like mlparted1); alter table mlparted1 attach partition mlparted11 for values from (2) to (5); alter table mlparted attach partition mlparted1 for values from (1, 2) to (1, 10); with ins (a, b, c) as (insert into mlparted (b, a) select s.a, 1 from generate_series(2, 39) s(a) returning tableoid::regclass, *) select a, b, min(c), max(c) from ins group by a, b order by 1;
tdb1=# with ins (a, b, c) as (insert into mlparted (b, a) select s.a, 1 from generate_series(2, 39) s(a) returning tableoid::regclass, *) select a, b, min(c), max(c) from ins group by a, b order by 1; WARNING: problem in alloc set MessageContext: bad size 0 for chunk 0x7f23f3b8e178 in block 0x7f23f3b8e000 WARNING: problem in alloc set MessageContext: bad size 0 for chunk 0x7f23f3b8e190 in block 0x7f23f3b8e000 WARNING: problem in alloc set MessageContext: bad size 0 for chunk 0x7f23f3b8e1a8 in block 0x7f23f3b8e000 WARNING: problem in alloc set MessageContext: bad size 0 for chunk 0x7f23f3b8f068 in block 0x7f23f3b8e000 WARNING: problem in alloc set MessageContext: bad size 0 for chunk 0x7f23f3b8f080 in block 0x7f23f3b8e000 WARNING: problem in alloc set MessageContext: bad size 0 for chunk 0x7f23f3b8f098 in block 0x7f23f3b8e000 WARNING: problem in alloc set MessageContext: bad size 0 for chunk 0x7f23f3b8f0b0 in block 0x7f23f3b8e000 WARNING: problem in alloc set MessageContext: bad size 0 for chunk 0x7f23f3b8f0c8 in block 0x7f23f3b8e000 WARNING: problem in alloc set MessageContext: bad size 0 for chunk 0x7f23f3b8f0e0 in block 0x7f23f3b8e000 WARNING: problem in alloc set MessageContext: bad size 0 for chunk 0x7f23f3b8f0f8 in block 0x7f23f3b8e000 WARNING: problem in alloc set MessageContext: bad size 0 for chunk 0x7f23f3b8f110 in block 0x7f23f3b8e000 WARNING: problem in alloc set MessageContext: bad size 0 for chunk 0x7f23f3b8f128 in block 0x7f23f3b8e000 WARNING: problem in alloc set MessageContext: req size > alloc size for chunk 0x7f23f3b8f140 in block 0x7f23f3b8e000 WARNING: problem in alloc set MessageContext: bogus aset link in block 0x7f23f3b8e000, chunk 0x7f23f3b8f140 WARNING: problem in alloc set MessageContext: bad size 0 for chunk 0x7f23f3b8f180 in block 0x7f23f3b8e000 WARNING: problem in alloc set MessageContext: req size > alloc size for chunk 0x7f23f3b8f198 in block 0x7f23f3b8e000 WARNING: problem in alloc set MessageContext: bogus aset link in block 0x7f23f3b8e000, chunk 0x7f23f3b8f198 WARNING: problem in alloc set MessageContext: req size > alloc size for chunk 0x7f23f3b8f1c0 in block 0x7f23f3b8e000 WARNING: problem in alloc set MessageContext: bogus aset link in block 0x7f23f3b8e000, chunk 0x7f23f3b8f1c0 ERROR: unexpected varattno 3 in expression to be mapped
this sometimes crash as well.
the issue in the comment:1 is fixed; the 'EXPLAIN' issue at the beginning is not fixed yet and actually query results are correct,only the query plan printing is bogus.
Issue migrated from trac ticket # 44
component: computing nodes | priority: minor | resolution: postpone
2021-04-15 17:00:12: @jd-zhang created the issue