You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql/delegate: show changefeed jobs option for db-level changefeeds to
show all watched tables
SHOW CHANGEFEED JOBS currently returns in a field all of the tables that
a changefeed job is watching. With db-level changefeeds, often there
could be a large number of tables watched in the database, so we want to
default to not listing any of the tables the db-level changefeed
watches. Adding a new option WITH WATCHED_TABLES to cause the full list
of tables to be returned.
In addition, a new field, database_name, is added to SHOW CHANGEFEED
JOBS to show the name of the database, in the case of a db-level
changefeed. It will be null for table-level changefeeds.
Epic: CRDB-1421Fixes: #148023
Release note (sql change): A new field is added to SHOW CHANGEFEED JOBS.
database_name gives the name of the database that a db-level changefeed
is on. For a table-level changefeed, it will be null.
SHOW CHANGEFEED JOBS field full_table_names is changed for db-level
changefeeds. By default, the list of watched tables in full_table_names
will be empty for a db-level changefeed, giving the total number of
watched tables. A new option WITH WATCHED_TABLES is added that will make
SHOW CHANGEFEED JOBS return the full list of target tables, like with
non-db level changefeeds.
0 commit comments