-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Optimizer hints is not worked for views #37887
Labels
Comments
jackysp
changed the title
The hint
The hint Sep 16, 2022
USE_INDEX
not work for viewsUSE_INDEX
not work for views
https://docs.oracle.com/cd/E18283_01/server.112/e16638/hintsref.htm#i27644 We can impl the same grammar mentioned in this chapter. It's a reasonable solution that is not hard to impl. But we need to extend our parser to support the grammar. The current
should become
|
winoros
added
type/enhancement
The issue or PR belongs to an enhancement.
sig/planner
SIG: Planner
and removed
type/bug
The issue is confirmed as a bug.
labels
Sep 16, 2022
winoros
changed the title
The hint
Optimizer hints is not worked for views
Sep 16, 2022
USE_INDEX
not work for views
Not only the index hint, we will fail if we want to use hint to choose the physical algorithm of join/agg. |
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Nov 14, 2022
12 tasks
ti-chi-bot
pushed a commit
that referenced
this issue
Nov 15, 2022
This was referenced Nov 21, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Nov 29, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Nov 30, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
mysql --connect-timeout 15 -u '3sDg3oSF1k7eu15.root' -h [gateway01.ap-northeast-1.prod.aws.tidbcloud.com](http://gateway01.ap-northeast-1.prod.aws.tidbcloud.com/) -P 4000 -D test -p
You can use your own tidb-cloud dev_tier.
2. What did you expect to see? (Required)
The plan should use index
index_github_events_on_actor_id
.3. What did you see instead (Required)
4. What is your TiDB version? (Required)
796fb1f
The text was updated successfully, but these errors were encountered: