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 CLUSTER_STATEMENTS_SUMMARY table meet error: [expression:1305]FUNCTION RegexpUTF8Sig does not exist #32783

Closed
YiniXu9506 opened this issue Mar 3, 2022 · 4 comments · Fixed by #33052
Assignees
Labels
severity/critical sig/execution SIG execution type/bug This issue is a bug.

Comments

@YiniXu9506
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

tiup playground nightly
SELECT  COUNT(*) FROM `INFORMATION_SCHEMA`.`CLUSTER_STATEMENTS_SUMMARY` WHERE table_names REGEXP '\binformation_schema\.';

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

+----------+
| COUNT(*) |
+----------+
|        0 |
+----------+
1 row in set (0.02 sec)

3. What did you see instead (Required)

ERROR 1105 (HY000): other error: [expression:1305]FUNCTION RegexpUTF8Sig does not exist

4. What is your TiDB version? (Required)

mysql> SELECT tidb_version();
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tidb_version()                                                                                                                                                                                                                                                                                                                   |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Release Version: v5.5.0-alpha
Edition: Community
Git Commit Hash: 42675fd9db50ae3cd6bcd3e4890624352b01c70f
Git Branch: heads/refs/tags/v5.5.0-alpha
UTC Build Time: 2022-03-02 14:51:41
GoVersion: go1.16.4
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
@YiniXu9506 YiniXu9506 added the type/bug This issue is a bug. label Mar 3, 2022
@crazycs520
Copy link
Contributor

@djshow832 PTAL

@djshow832
Copy link
Contributor

djshow832 commented Mar 3, 2022

This is caused by #32636.
Once regexp is supported by TiFlash, TiDB pushes down the operator to other TiDB instances and then reports an error.
I'm afraid there are many other similar problems for cluster memory tables.

@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. labels Mar 4, 2022
@seiya-annie
Copy link

only exists in master

@seiya-annie seiya-annie 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. labels Mar 4, 2022
@djshow832 djshow832 self-assigned this Mar 4, 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. labels Mar 14, 2022
@breezewish
Copy link
Member

I changed the severity to critical since TiDB Dashboard relies on these table querying to work. For now TiDB Dashboard as a built-in feature is broken.

@djshow832 djshow832 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. labels Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/critical sig/execution SIG execution type/bug This issue is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants