citusdata / citusdata/citus

Support index-only scan for columnar tables

Open
#5,034 2 comments 1 reaction 0 assignees View on GitHub
columnar
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

With #4950, we implement index support for columnar tables.

On the other hand, even when `EXPLAIN` output tells that we will do index-only scan, it's never the case since columnar tables don't have the visibility info that postgres is looking for.
For this reason, visibility check in `IndexOnlyNext->VM_ALL_VISIBLE` code-path always returns false and postgres always reads the tuple from the columnar relation.

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.