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

Add more log and information about why index merge is not used #30824

Closed
guo-shaoge opened this issue Dec 17, 2021 · 1 comment
Closed

Add more log and information about why index merge is not used #30824

guo-shaoge opened this issue Dec 17, 2021 · 1 comment
Assignees
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@guo-shaoge
Copy link
Collaborator

Enhancement

There are many reasons that makes index merge is inapplicable, we should add more information to indicates why. Also this information should be write to log.

ds.ctx.GetSessionVars().StmtCtx.AppendWarning(errors.Errorf("IndexMerge is inapplicable or disabled"))

@guo-shaoge guo-shaoge added the type/enhancement The issue or PR belongs to an enhancement. label Dec 17, 2021
@guo-shaoge guo-shaoge self-assigned this Dec 17, 2021
@guo-shaoge
Copy link
Collaborator Author

fixed in #30341

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant