yugabyte/yugabyte-db

[YSQL] Correct error message on creating a materialised view with tablespaces having insufficient tablet servers

Open

#11,133 opened on Jan 19, 2022

View on GitHub
 (0 comments) (0 reactions) (1 assignee)C (1,003 forks)batch import
area/ysqlgood first issuekind/bugpriority/medium

Repository metrics

Stars
 (8,229 stars)
PR merge metrics
 (Avg merge 17d 21h) (92 merged PRs in 30d)

Description

Jira Link: DB-1187

Description

Correct error message on creating materialized view with tablespaces having insufficient tablet servers.

Correct the word table in the error message Invalid table definition and Error creating table

one=# create materialized view mv9 tablespace us_east_1a_zone_tablespace as select * from users; ERROR: Invalid argument: Invalid table definition: Error creating table one.mv9 on the master: Not enough tablet servers in aws:us-east-1:us-east-1a. Need at least 3 but only have 0.

Contributor guide