citusdata / citusdata/citus

alter_distributed_table may change dependent materialized views' options

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

Description

While altering a distributed table with `alter_distributed_table`, Citus recreates materialized views depending on that table. Though,

- Aliases
- Storage parameters
- Tablespace
- WITH [NO] DATA

options for materialized views are not handled properly while recreating them. Parser functions should be added and `CreateMaterializedViewDDLCommand` should be updated accordingly to handle them.

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.