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

Bug: crash when the columns are not fully written in nexmark source #8812

Closed
shanicky opened this issue Mar 28, 2023 · 1 comment · Fixed by #8858
Closed

Bug: crash when the columns are not fully written in nexmark source #8812

shanicky opened this issue Mar 28, 2023 · 1 comment · Fixed by #8858
Labels
type/bug Something isn't working
Milestone

Comments

@shanicky
Copy link
Contributor

Describe the bug

When columns of the nexmark source are not written completely, it will panic in schema_check

If this is the expected behavior, please close this issue.

To Reproduce

dev=> create table bid (auction INTEGER, bidder INTEGER, price INTEGER, "date_time" TIMESTAMP)
with (
  connector = 'nexmark',
  nexmark.table.type = 'Bid',
  nexmark.split.num = '12',
  nexmark.min.event.gap.in.ns = '100000'
) ;

then

thread 'risingwave-streaming-actor' panicked at 'schema check failed on SourceExecutor 4800002718: column type mismatched at position 0: expected Some(Int32), found Some("Int64")', src/stream/src/executor/wrapper/schema_check.rs:48:29
stack backtrace:
thread 'risingwave-streaming-actor' panicked at 'schema check failed on SourceExecutor 3000002718: column type mismatched at position 0: expected Some(Int32), found Some("Int64")', src/stream/src/executor/wrapper/schema_check.rs:48:29
thread 'risingwave-streaming-actor' panicked at 'schema check failed on SourceExecutor 2D00002718: column type mismatched at position 0: expected Some(Int32), found Some("Int64")', src/stream/src/executor/wrapper/schema_check.rs:48:29
thread 'thread 'risingwave-streaming-actorrisingwave-streaming-actor' panicked at '' panicked at 'schema check failed on SourceExecutor 3F00002718: column type mismatched at position 0: expected Some(Int32), found Some("Int64")schema check failed on SourceExecutor 2900002718: column type mismatched at position 0: expected Some(Int32), found Some("Int64")', thread '', src/stream/src/executor/wrapper/schema_check.rsrisingwave-streaming-actorsrc/stream/src/executor/wrapper/schema_check.rs:' panicked at ':48schema check failed on SourceExecutor 4500002718: column type mismatched at position 0: expected Some(Int32), found Some("Int64")48:', :29src/stream/src/executor/wrapper/schema_check.rs29

Expected behavior

No response

Additional context

No response

@shanicky shanicky added the type/bug Something isn't working label Mar 28, 2023
@github-actions github-actions bot added this to the release-0.19 milestone Mar 28, 2023
@BugenZhao
Copy link
Member

BugenZhao commented Mar 28, 2023

The panic is intended to expose this as earlier as possible, introduced in #8711.

I think it's better to gracefully report an error when creating. cc @waruto210

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
2 participants