yugabyte/yugabyte-db

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

Open

#11.133 geöffnet am 19. Jan. 2022

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C (1.003 Forks)batch import
area/ysqlgood first issuekind/bugpriority/medium

Repository-Metriken

Stars
 (8.229 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 17T 21h) (92 gemergte PRs in 30 T)

Beschreibung

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