citusdata / citusdata/citus

Calling CCI is problematic during parallel operations involving columnar tables

Open
#5,270 6 comments 4 reactions 0 assignees View on GitHub
bug columnar dev_reported
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

Also applies to older versions, with a slightly different error message:

```sql
CREATE TABLE sampletable (x numeric);
INSERT INTO sampletable SELECT random() * 10000 FROM generate_series(1,10000000);

-- since there are some parallel workers reading from heap, and CommandCounterIncrement
-- is not expected to be called during parallel operations
CREATE TABLE sampletable_columnar2 USING columnar AS SELECT * FROM sampletable ORDER BY 1 ASC;
ERROR: cannot start commands during a parallel operation
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.