Skip to content
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

EXPLAIN SYNTAX + UNION DISTINCT in subquery crash #20876

Closed
ucasfl opened this issue Feb 18, 2021 · 2 comments · Fixed by #21246
Closed

EXPLAIN SYNTAX + UNION DISTINCT in subquery crash #20876

ucasfl opened this issue Feb 18, 2021 · 2 comments · Fixed by #21246
Assignees
Labels
bug Confirmed user-visible misbehaviour in official release crash Crash / segfault / abort

Comments

@ucasfl
Copy link
Collaborator

ucasfl commented Feb 18, 2021

How to reproduce:

EXPLAIN SYNTAX
SELECT x
FROM 
(
    SELECT 1 AS x
    UNION DISTINCT
    SELECT 1
)

Query id: e777bc02-5d1b-4d49-ba89-4ebe31172387


Exception on client:
Code: 32. DB::Exception: Attempt to read after eof: while receiving packet from localhost:9000
@ucasfl ucasfl added the bug Confirmed user-visible misbehaviour in official release label Feb 18, 2021
@alesapin alesapin added the crash Crash / segfault / abort label Feb 19, 2021
@filimonov
Copy link
Contributor

Related to #21170

@ucasfl
Copy link
Collaborator Author

ucasfl commented Mar 1, 2021

Related to #21170

Both of them will be fixed in #21246.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed user-visible misbehaviour in official release crash Crash / segfault / abort
Projects
None yet
3 participants