You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do?
If possible, provide a recipe for reproducing the error.
createtablet(a int);
createtables(a int unsigned);
insert into t value(-1);
insert into s value(1);
What did you expect to see?
select * from t union all select * from s;
+------+
| a |
+------+
| -1 |
| 1 |
+------+
select * from s union all select * from t;
+------+
| a |
+------+
| -1 |
| 1 |
+------+
What did you see instead?
select * from t union all select * from s;
+------+
| a |
+------+
| -1 |
| 1 |
+------+
select * from s union all select * from t;
+------+
| a |
+------+
| 0 |
| 1 |
+------+
What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?
Release Version: v4.0.0-alpha-15-gd2b538718
Git Commit Hash: d2b5387183a591847f952aa4e3a3c4597c34dcba
Git Branch: HEAD
UTC Build Time: 2019-08-02 08:50:35
GoVersion: go version go1.12.6 linux/amd64
Race Enabled: false
TiKV Min Version: 2.1.0-alpha.1-ff3dd160846b7d1aed9079c389fc188f7f5ea13e
Check Table Before Drop: false
mysqld Ver 8.0.13 for linux-glibc2.12 on x86_64 (MySQL Community Server - GPL)
Bug Report
If possible, provide a recipe for reproducing the error.
tidb-server -V
or runselect tidb_version();
on TiDB)?union result is not differ from mysql #7075
The text was updated successfully, but these errors were encountered: