-
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]-Incorrect result or run-time error after changing column type #17812
Labels
priority/P1
The issue has P1 priority.
severity/critical
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Comments
qw4990
added
component/executor
severity/critical
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
labels
Aug 26, 2020
Looks like we cannot support converting a
@zimulala PTAL |
A minimal repro: CREATE TABLE t0(c0 INT, c1 DECIMAL);
INSERT INTO t0(c1) VALUES (0), (1);
ALTER TABLE t0 MODIFY c1 INT;
select c1 from t0; |
eurekaka
added
sig/sql-infra
SIG: SQL Infra
and removed
component/executor
sig/planner
SIG: Planner
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
labels
Aug 28, 2020
Changing |
This was referenced Sep 1, 2020
It is closed by #19645 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
priority/P1
The issue has P1 priority.
severity/critical
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Bug Hunter issue tidb-challenge-program/bug-hunting-issue#10
Consider the following statements:
Unexpectedly, the
SELECT
fetches two rows. I would expect only a single one to be fetched. Furthermore, when dropping theUNIQUE
constraint, the query fails with an error:Environment:
An incorrect query result seems to qualify as a P0 bug, according to https://github.com/pingcap/community/blob/master/bug-hunting-programs/bug-hunting-program.md.
The text was updated successfully, but these errors were encountered: