cockroachdb / cockroachdb/cockroach

changefeedccl: inconsistent fully qualified table names after alter add table

Open
#147,733 2 comments 0 reactions 0 assignees View on GitHub
A-cdc C-bug E-quick-win T-cdc
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

After an alter changefeed, the table names in the create changefeed statement have inconsistent qualified names. The table qualified name should be consistent.

To repro:
```
create table t (i int);
create table v (i int);
create changefeed for table t into 'null://';
show changefeed jobs;
# CREATE CHANGEFEED FOR TABLE t INTO 'null:'
pause job [job id];
alter changefeed [job id] add table v;
# CREATE CHANGEFEED FOR TABLE defaultdb.public.t, TABLE v INTO 'null:'
show changefeed jobs;
# CREATE CHANGEFEED FOR TABLE defaultdb.public.t, TABLE v INTO 'null:'
```

Jira issue: CRDB-51206

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.