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

Union unnest will panic #17880

Open
yuhao-su opened this issue Jul 31, 2024 · 1 comment
Open

Union unnest will panic #17880

yuhao-su opened this issue Jul 31, 2024 · 1 comment
Assignees
Labels
type/bug Something isn't working
Milestone

Comments

@yuhao-su
Copy link
Contributor

Describe the bug

The might be caused by project_row_id. It exist in BoundSelect but will be eliminate from output in BoundQuery

dev=> select unnest(Array[1,2,3]) union all select unnest(Array[1,2,3]);
 unnest 
--------
      1
      2
      3
      1
      2
      3
(6 rows)


dev=> select unnest(Array[1,2,3]) union all (select unnest(Array[1,2,3]));
ERROR:  Panicked when handling the request: assertion failed: Schema::all_type_eq(inputs.iter().map(|x| x.schema()))
This is a bug. We would appreciate a bug report at:
  https://github.com/risingwavelabs/risingwave/issues/new?labels=type%2Fbug&template=bug_report.yml
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
The connection to the server was lost. Attempting reset: Succeeded.

Error message/log

No response

To Reproduce

No response

Expected behavior

No response

How did you deploy RisingWave?

No response

The version of RisingWave

No response

Additional context

No response

@yuhao-su yuhao-su added the type/bug Something isn't working label Jul 31, 2024
@github-actions github-actions bot added this to the release-1.11 milestone Jul 31, 2024
@xxchan
Copy link
Member

xxchan commented Jul 31, 2024

somehow similar to #17448. The handling of the hidden column has flaws/

@xxchan xxchan modified the milestones: release-2.0, release-2.1 Aug 19, 2024
@xxchan xxchan changed the title Union a select and query will panic Union unnest will panic Oct 16, 2024
@xxchan xxchan modified the milestones: release-2.1, release-2.2 Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants