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

context provider not set error when running plan replayer dump explain <sql file> #46197

Closed
time-and-fate opened this issue Aug 17, 2023 · 0 comments · Fixed by #46201
Closed
Labels
affects-7.1 severity/moderate sig/planner SIG: Planner type/bug The issue is confirmed as a bug.

Comments

@time-and-fate
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

In a.sql:

select * from t1;
create table t1(a int, b int);
plan replayer dump explain 'sql.sql';

2. What did you expect to see? (Required)

Success.

3. What did you see instead (Required)

ERROR 1105 (HY000): context provider not set

4. What is your TiDB version? (Required)

master

Introduced by #39863, affects from v6.6 to v7.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.1 severity/moderate sig/planner SIG: Planner type/bug The issue is confirmed as a bug.
Projects
None yet
1 participant