pingcap / tidb-tools

tidb-tools are some useful tool collections for TiDB.
Apache License 2.0
289 stars 194 forks source link

Support DML generation for blob data #786

Closed michaelmdeng closed 6 months ago

michaelmdeng commented 6 months ago

What problem does this PR solve?

Issue Number: close #710

Helps address #350.

Supports supports generating DMLs to resolve diffs in blob data. Essentially a copy of #709, with differences:

What is changed and how it works?

Generate correct DML to update different tables w/ blob data by converting data into hex for insert/replace/delete.

Check List

Tests

Code changes

Side effects

Related changes

Release note

None
CLAassistant commented 6 months ago

CLA assistant check
All committers have signed the CLA.

Leavrth commented 6 months ago

please make format

lyzx2001 commented 6 months ago

please fix the fmt error in unit tests

ti-chi-bot[bot] commented 6 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Leavrth, lyzx2001

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/pingcap/tidb-tools/blob/master/OWNERS)~~ [Leavrth] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
ti-chi-bot[bot] commented 6 months ago

[LGTM Timeline notifier]

Timeline: