Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Add an option to turn alter table auto_increment off. #507

Open
3pointer opened this issue Dec 4, 2020 · 1 comment
Open

Add an option to turn alter table auto_increment off. #507

3pointer opened this issue Dec 4, 2020 · 1 comment
Labels
feature-request This issue is a feature request

Comments

@3pointer
Copy link
Contributor

3pointer commented Dec 4, 2020

Feature Request

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

We had this mechanism, when import table successfully, lightning will do alter auto_increment job to trigger TiDB to refresh its auto_increment cache due to TiDB issue pingcap/tidb#2285.
But sometimes we don't have a privilege to execute alter SQL. then lightning will return error.

Describe the feature you'd like:

Add an option to turn alter table auto_increment off.

Describe alternatives you've considered:

can we alse add an option to handle auto_random?

Teachability, Documentation, Adoption, Optimization:

@3pointer 3pointer added the feature-request This issue is a feature request label Dec 4, 2020
@kennytm
Copy link
Collaborator

kennytm commented Dec 4, 2020

Can we just add that permission into the docs 🤔

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request This issue is a feature request
Projects
None yet
Development

No branches or pull requests

2 participants