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

shared source doesn't work with joins #19575

Closed
xxchan opened this issue Nov 26, 2024 · 1 comment · Fixed by #19578
Closed

shared source doesn't work with joins #19575

xxchan opened this issue Nov 26, 2024 · 1 comment · Fixed by #19578
Labels
type/bug Something isn't working
Milestone

Comments

@xxchan
Copy link
Member

xxchan commented Nov 26, 2024

Describe the bug

nexmark q3

We can see _rw_kafka_partition is the cause.

Caused by:
    statement failed: db error: ERROR: Panicked when handling the request: a stream key is expected but not exist, plan:
    StreamHashJoin [append_only] { type: Inner, predicate: seller = _rw_kafka_partition }
    ├─StreamExchange { dist: HashShard(seller) }
    │ └─StreamFilter { predicate: (category = 10:Int32) }
    │   └─StreamRowIdGen { row_id_index: 11 }
    │     └─StreamSourceScan { columns: [id, item_name, description, initial_bid, reserve, date_time, expires, seller, category, extra, _rw_kafka_timestamp, _row_id, _rw_kafka_partition, _rw_kafka_offset] }
    └─StreamExchange { dist: HashShard(id) }
      └─StreamFilter { predicate: (((state = 'or':Varchar) OR (state = 'id':Varchar)) OR (state = 'ca':Varchar)) }
        └─StreamRowIdGen { row_id_index: 9 }
          └─StreamSourceScan { columns: [id, name, email_address, credit_card, city, state, date_time, extra, _rw_kafka_timestamp, _row_id, _rw_kafka_partition, _rw_kafka_offset] }
    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

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

@xxchan xxchan added the type/bug Something isn't working label Nov 26, 2024
@github-actions github-actions bot added this to the release-2.2 milestone Nov 26, 2024
@xxchan
Copy link
Member Author

xxchan commented Nov 26, 2024

Similar to #17880. Hidden column isn't handled with care.

xxchan added a commit that referenced this issue Nov 26, 2024
xxchan added a commit that referenced this issue Nov 26, 2024
fix #19575

Signed-off-by: xxchan <[email protected]>

fix test

Signed-off-by: xxchan <[email protected]>

add tpch test

Signed-off-by: xxchan <[email protected]>

fix

Signed-off-by: xxchan <[email protected]>
xxchan added a commit that referenced this issue Nov 26, 2024
fix #19575

Signed-off-by: xxchan <[email protected]>

fix test

Signed-off-by: xxchan <[email protected]>

add tpch test

Signed-off-by: xxchan <[email protected]>

fix

Signed-off-by: xxchan <[email protected]>
xxchan added a commit that referenced this issue Nov 26, 2024
fix #19575

Signed-off-by: xxchan <[email protected]>

fix test

Signed-off-by: xxchan <[email protected]>

add tpch test

Signed-off-by: xxchan <[email protected]>

fix

Signed-off-by: xxchan <[email protected]>
xxchan added a commit that referenced this issue Nov 27, 2024
fix #19575

Signed-off-by: xxchan <[email protected]>

fix test

Signed-off-by: xxchan <[email protected]>

add tpch test

Signed-off-by: xxchan <[email protected]>

fix

Signed-off-by: xxchan <[email protected]>
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

Successfully merging a pull request may close this issue.

1 participant