databend icon indicating copy to clipboard operation
databend copied to clipboard

bug: a subquery panic case

Open xudong963 opened this issue 3 years ago • 0 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

Version

main

What's Wrong?

select * from (SELECT number AS a FROM numbers(10)) x where exists (select 1::UInt64 b);

mysql> select * from (SELECT number AS a FROM numbers(10)) x where exists (select 1::UInt64 b);
ERROR 1105 (HY000): Code: 1068, displayText = Cannot join handle from context's runtime, cause: task 366 panicked.

How to Reproduce?

No response

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

xudong963 avatar Aug 11 '22 04:08 xudong963