Skip to content
New issue

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

Support ANALYZE TABLE .. UPDATE HISTOGRAM syntax #361

Closed
morgo opened this issue Jun 19, 2019 · 0 comments · Fixed by #925
Closed

Support ANALYZE TABLE .. UPDATE HISTOGRAM syntax #361

morgo opened this issue Jun 19, 2019 · 0 comments · Fixed by #925
Labels
help wanted Extra attention is needed type/enhancement New feature or request

Comments

@morgo
Copy link
Contributor

morgo commented Jun 19, 2019

Feature Request

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

Relates to pingcap/tidb#10829

Describe the feature you'd like:

The parser should support MySQL's histogram syntax:

ANALYZE TABLE `t1` UPDATE HISTOGRAM ON `b` WITH 1024 BUCKETS;

Describe alternatives you've considered:

MySQL 8.0 compatibility

Teachability, Documentation, Adoption, Migration Strategy:

MySQL 8.0 compatibility (mysqldump in 8.0 will require this to be supported if information_schema.column_statistics is not empty).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed type/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant