yugabyte/yugabyte-db

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

Open

#11.133 aberto em 19 de jan. de 2022

Ver no GitHub
 (0 comments) (0 reactions) (1 assignee)C (1.003 forks)batch import
area/ysqlgood first issuekind/bugpriority/medium

Métricas do repositório

Stars
 (8.229 stars)
Métricas de merge de PR
 (Mesclagem média 17d 21h) (92 fundiu PRs em 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.

Guia do colaborador