Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

embed DM version info in SQL statement as a comment #87

Open
csuzhangxc opened this issue Mar 20, 2019 · 0 comments
Open

embed DM version info in SQL statement as a comment #87

csuzhangxc opened this issue Mar 20, 2019 · 0 comments
Labels
type/feature-request This issue is a feature request

Comments

@csuzhangxc
Copy link
Member

csuzhangxc commented Mar 20, 2019

Feature Request

Is your feature request related to a problem? Please describe:

Now, when executing a SQL statement through DM, we can't identify it whether from DM in the downstream easily. Only use the connection ID is a little hard.

Describe the feature you'd like:

two steps to achieve this:

  1. embed DM version info in SQL statement as a comment
  2. show the comment in the downstream

in DM, we can do step.1 to convert SQL statement like

/* ApplicationName=DM v1.0.0-alpha-g3f4c0d8 */ INSERT INTO db.tbl VALUES (1)

Describe alternatives you've considered:

another method to achieve this is making compare connection ID easier.

Category

  • Feature

Value

TiDB server can distinguish whether a SQL is from a specified DM task.

Value Score

2

User

N/A

@csuzhangxc csuzhangxc added the type/feature-request This issue is a feature request label Mar 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/feature-request This issue is a feature request
Projects
None yet
Development

No branches or pull requests

1 participant