-
Notifications
You must be signed in to change notification settings - Fork 4.1k
cdc: can't cast to table-typed tuple #90260
Copy link
Copy link
Closed
Labels
A-cdc-expressionsFeatures related to changefeed projections and filtersFeatures related to changefeed projections and filtersC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-cdc
Description
root@localhost:26257/defaultdb> create changefeed with schema_change_policy='stop', cursor='1666201816846978000.0000000000',initial_scan='yes' as select foo from foo;
ERROR: column "foo" does not exist
SQLSTATE: 42703
HINT: object does not exist in table "foo", family "primary"
root@localhost:26257/defaultdb> create changefeed with schema_change_policy='stop', cursor='1666201816846978000.0000000000',initial_scan='yes' as select null::foo from foo;
ERROR: use of user defined types not referenced by target table is not supportedfoo is arguably a user-defined type but it's definitely referenced by foo.
Jira issue: CRDB-20661
Epic CRDB-17161
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-cdc-expressionsFeatures related to changefeed projections and filtersFeatures related to changefeed projections and filtersC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-cdc