-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Aggregation distinct function panic when distinct_agg_push_down and enable_cascades_planner #24449
Labels
Comments
Closed
@aytrack this should be a planner's bug, and note also cascades_planner is not GAed yet, so I doubt if this bug should be a major bug. |
I will change the sig label to planner, but I think it's a major bug because the TiDB was panic. |
Seems planner missing a Projection between HashAgg_18 and TableReader_19 |
/assign |
zoomxi
pushed a commit
to zoomxi/tidb
that referenced
this issue
May 25, 2021
…leteMode, not just compare the first aggFunc (pingcap#24449)
zoomxi
added a commit
to zoomxi/tidb
that referenced
this issue
May 27, 2021
…tProjectionBelowAgg to fix distinct agg bug (pingcap#24449)
zoomxi
added a commit
to zoomxi/tidb
that referenced
this issue
May 27, 2021
…tProjectionBelowAgg to fix distinct agg bug (pingcap#24449)
zoomxi
added a commit
to zoomxi/tidb
that referenced
this issue
Jul 20, 2021
…_push_down and enable_cascades_planner enabled (pingcap#24449)
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)
The query plan is
2. What did you expect to see? (Required)
successfully
3. What did you see instead (Required)
ERROR 1105 (HY000): runtime error: index out of range [-1]
Panic log
4. What is your TiDB version? (Required)
Release Version: v4.0.0-beta.2-2807-g289dcfefd-dirty
Edition: Community
Git Commit Hash: 289dcfe
Git Branch: master
UTC Build Time: 2021-05-06 15:11:16
GoVersion: go1.13
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false
The text was updated successfully, but these errors were encountered: