tiflow icon indicating copy to clipboard operation
tiflow copied to clipboard

ticdc: add the query message in the error info to help user know the problems

Open hongyunyan opened this issue 8 months ago • 0 comments

Now we only have the error message like '[CDC:ErrMySQLTxnError]MySQL txn error: Error 1054 (42S22): Unknown column 'remarks' in 'field list', when there are some problems for the changefeed.

However, the message doesn't include the query info, so it's hard for users to know why it happens, what table it happens.

To enhancement the user experience, we need to add query info in the error message.

hongyunyan avatar Jun 05 '24 09:06 hongyunyan