Skip to content

Writeable CTE on replicated table join with others crash. #51

@my-ship-it

Description

@my-ship-it

See GPDB issue https://github.com/greenplum-db/gpdb/issues/15860

create table r3 (c1 int, c2 int) distributed replicated;
explain with cte1 as (insert into r3 values (1, 2) returning *) select * from cte1 join r3 using(c1);
FATAL:  Unexpected internal error (assert.c:44)
DETAIL:  FailedAssertion("!(!((outer.locus).locustype == CdbLocusType_Replicated))", File: "cdbpath.c", Line: 1315)
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions