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
Please answer these questions before submitting your issue. Thanks!
What did you do?
If possible, provide a recipe for reproducing the error.
drop table if exists sort_null_bug;
create table sort_null_bug(a int);
insert into sort_null_bug values(1), (2), (3), (6), (4);
select * from (select *, null as b from sort_null_bug) t order by b;
select * from (select *, null as b from sort_null_bug) t order by b, a;
What did you expect to see?
The two SELECT statements executes successfully.
What did you see instead?
The second one panicked.
What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?
Bug Report
Please answer these questions before submitting your issue. Thanks!
If possible, provide a recipe for reproducing the error.
The two SELECT statements executes successfully.
The second one panicked.
tidb-server -V
or runselect tidb_version();
on TiDB)?master 373317f
The text was updated successfully, but these errors were encountered: