We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/bithaolee/canal-python 最后的代码示例 问题修改反馈
format_data = dict() if event_type == EntryProtocol_pb2.EventType.DELETE: for column in row.beforeColumns: format_data = { column.name: column.value } elif event_type == EntryProtocol_pb2.EventType.INSERT: for column in row.afterColumns: format_data = { column.name: column.value } ==> format_data = dict() if event_type == EntryProtocol_pb2.EventType.DELETE: for column in row.beforeColumns: format_data[column.name] = column.value elif event_type == EntryProtocol_pb2.EventType.INSERT: for column in row.afterColumns: format_data[column.name] = column.value
format_data['before'] = format_data['after'] = dict() ==> format_data['before'] = dict() format_data['after'] = dict()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/bithaolee/canal-python 最后的代码示例 问题修改反馈
The text was updated successfully, but these errors were encountered: