Open rebelice opened 3 years ago
/label sig/execution, sig/planner, epic/sql-plan-management
/assign @rebelice
/label sig/execution
The hints of UNION/INTERSECT/EXCEPT will involve a problem. UNION will generate an AGG that is not under any SELECT and INTERSECT/EXCEPT will generate a JOIN that is not under any SELECT. It is not easy to implement on the existing framework, and the changes are large. So it needs design doc and discussion.
If we can only reproduce this problem after set @@tidb_capture_plan_baselines = on;
, I suppose to change the label from bug to feature-request. @rebelice
Bug Report
Please answer these questions before submitting your issue. Thanks!
This issue is associated with #19932 and the PR for it doesn't consider baseline capturing.
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
Not empty set.
3. What did you see instead (Required)
Empty set.
4. What is your TiDB version? (Required)