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
bug: the content of the result sets mismatch #7463
Comments
Union schema mismatch, cc @xudong963 |
2 tasks
The issue was fixed in main branch mysql> SELECT t0.c1boolean, t0.c0float FROM t0 WHERE NULL UNION SELECT t0.c1boolean, t0.c0float FROM t0 WHERE (NOT NULL) UNION SELECT t0.c1boolean, t0.c0float FROM t0 WHERE ((NULL) IS NULL);
+-----------+--------------+
| c1boolean | c0float |
+-----------+--------------+
| 0 | 0.36048597 |
| 1 | 0.45232284 |
| 0 | 0.9063048 |
| 0 | 0.30710575 |
| 0 | 3.4028235e38 |
| 1 | 0.31389174 |
| 0 | 0.86346656 |
+-----------+--------------+
7 rows in set (0.06 sec)
Read 8 rows, 42.00 B in 0.016 sec., 486.22 rows/sec., 2.49 KiB/sec.
mysql> SELECT DISTINCT t0.c1boolean, t0.c0float FROM t0;
+-----------+--------------+
| c1boolean | c0float |
+-----------+--------------+
| 0 | 0.36048597 |
| 1 | 0.45232284 |
| 0 | 0.9063048 |
| 0 | 0.30710575 |
| 0 | 3.4028235e38 |
| 1 | 0.31389174 |
| 0 | 0.86346656 |
+-----------+--------------+
7 rows in set (0.04 sec)
Read 8 rows, 42.00 B in 0.008 sec., 1.02 thousand rows/sec., 5.23 KiB/sec.
mysql> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search before asking
Version
8.0.26-v0.8.23-nightly-cbaedce-simd(rust-1.64.0-nightly-2022-09-02T16:39:41.032000394Z)
What's Wrong?
the content of the result sets mismatch
How to Reproduce?
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: