inl_join hints has wrong warrings in the cte query block #53767
Labels
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
severity/moderate
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
The hint is worked, but it has some wrong warnings.
2. What did you expect to see? (Required)
the explain use index join without warnings.
3. What did you see instead (Required)
the explain use index join with warnings
There are no matching table names for (e) in optimizer hint /*+ INL_JOIN(e, e) / or /+ TIDB_INLJ(e, e) */. Maybe you can use the table alias name
4. What is your TiDB version? (Required)
Release Version: v8.1.0
Edition: Community
Git Commit Hash: 945d07c
Git Branch: HEAD
UTC Build Time: 2024-05-21 03:51:57
GoVersion: go1.21.10
Race Enabled: false
Check Table Before Drop: false
Store: tikv
The text was updated successfully, but these errors were encountered: