cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

Update error message for invalid cursor arguments

Open amruss opened this issue 5 years ago • 0 comments

When giving a non valid cursor timestamp when starting a changefeed, our error message is opaque:

EXPERIMENTAL CHANGEFEED FOR notifications WITH CURSOR='1536242855577149065.0000000000';
ERROR: failed to resolve targets in the CHANGEFEED stmt: table "notifications" does not exist

Update from: "ERROR: failed to resolve targets in the CHANGEFEED stmt: table "notifications" does not exist" Update to: "ERROR: failed to resolve targets in the CHANGEFEED stmt: invalid cursor timestamp for table "notifications""

amruss avatar Jan 24 '21 22:01 amruss