-
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
P1-[4.0 bug hunting]-[SQL Plan Management]-Server panic for NATURAL LEFT JOIN on partitioned table #17808
Comments
/assign |
Can not produce in the latest master.
The result is the same with MySQL8.0 |
I try mysql> CREATE TABLE t1(c0 INT) PARTITION BY HASH((NOT c0)) PARTITIONS 2;
Query OK, 0 rows affected (0.00 sec)
mysql> SELECT * FROM t1 NATURAL LEFT JOIN t0;
Empty set (0.00 sec) But in MySQL: mysql> CREATE TABLE t1(c0 INT) PARTITION BY HASH((NOT c0)) PARTITIONS 2;
ERROR 1564 (HY000): This partition function is not allowed |
What's your TiDB version? |
master. Note that the given SQL is wrong, should be |
/label sig/ddl |
/label sig/ddl |
/unlabel sig/planner |
Please edit this comment or add a new comment to complete the following informationNot a bug
Duplicate bug
BugNote: Make Sure that 'component', and 'severity' labels are added 1. Root Cause Analysis (RCA) (optional)2. Symptom (optional)3. All Trigger Conditions (optional)4. Workaround (optional)5. Affected versions6. Fixed versions |
Bug Hunter issue tidb-challenge-program/bug-hunting-issue#14
Consider the following statements:
When executing these statements, the connection to the server drops:
The server logs the following stack trace:
I can reproduce this both on the RC and the latest master (commit 7e71069).
Environment:
The classification assigns a P0 to
Process crash, etc.
, which is why I propose this severity level.The text was updated successfully, but these errors were encountered: