databend
databend copied to clipboard
bug: a subquery panic case
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!