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

query information_schema.metrics_summary table failed #35856

Closed
aytrack opened this issue Jun 30, 2022 · 0 comments · Fixed by #36450
Closed

query information_schema.metrics_summary table failed #35856

aytrack opened this issue Jun 30, 2022 · 0 comments · Fixed by #36450
Labels
affects-6.2 severity/major sig/diagnosis SIG: Diagnosis type/bug The issue is confirmed as a bug.

Comments

@aytrack
Copy link
Contributor

aytrack commented Jun 30, 2022

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. tiup playground nightly
  2. execute sql
select count(1) from information_schema.metrics_summary

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

execute success.

3. What did you see instead (Required)

MySQL root@127.0.0.1:(none)> select count(1) from information_schema.metrics_summary;
(1105, "execute 'select sum(value),avg(value),min(value),max(value) from `metrics_schema`.`tidb_distsql_copr_cache` where time>='2022-06-30 16:09:10.063' and time<='2022-06-30 16:39:10.063'' failed: query metric error, msg: 1:62: parse error: unexpected right parenthesis ')', detail: ")

4. What is your TiDB version? (Required)

tidb_version() | Release Version: v6.2.0-alpha
Edition: Community
Git Commit Hash: ed5e63a7a0a275e313cd78ab1777e46803c2de53
Git Branch: heads/refs/tags/v6.2.0-alpha
UTC Build Time: 2022-06-28 14:25:45
GoVersion: go1.18.2
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false
Store: tikv
@aytrack aytrack added type/bug The issue is confirmed as a bug. severity/major sig/diagnosis SIG: Diagnosis labels Jun 30, 2022
@ti-chi-bot ti-chi-bot added may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.0 may-affects-6.1 labels Jun 30, 2022
@aytrack aytrack removed may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-6.0 may-affects-6.1 labels Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.2 severity/major sig/diagnosis SIG: Diagnosis type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants