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

CometNativeException: called Option::unwrap() on a None value #1019

Closed
andygrove opened this issue Oct 15, 2024 · 2 comments · Fixed by #1022
Closed

CometNativeException: called Option::unwrap() on a None value #1019

andygrove opened this issue Oct 15, 2024 · 2 comments · Fixed by #1022
Assignees
Labels
bug Something isn't working
Milestone

Comments

@andygrove
Copy link
Member

Describe the bug

I am seeing this error when running TPC-H q10 @ sf=100 with the filters removed.

org.apache.comet.CometNativeException: called `Option::unwrap()` on a `None` value
        at comet::errors::init::{{closure}}(__internal__:0)
        at std::panicking::rust_panic_with_hook(__internal__:0)
        at std::panicking::begin_panic_handler::{{closure}}(__internal__:0)
        at std::sys_common::backtrace::__rust_end_short_backtrace(__internal__:0)
        at rust_begin_unwind(__internal__:0)
        at core::panicking::panic_fmt(__internal__:0)
        at core::panicking::panic(__internal__:0)
        at core::option::unwrap_failed(__internal__:0)
        at <arrow_array::array::dictionary_array::TypedDictionaryArray<K,V> as arrow_array::array::ArrayAccessor>::value(__internal__:0)
        at comet::execution::datafusion::shuffle_writer::append_columns(__internal__:0)
        at comet::execution::datafusion::shuffle_writer::PartitionBuffer::append_rows(__internal__:0)
        at comet::execution::datafusion::shuffle_writer::ShuffleRepartitioner::append_rows_to_partition::{{closure}}(__internal__:0)
        at comet::execution::datafusion::shuffle_writer::external_shuffle::{{closure}}(__internal__:0)
        at <datafusion_physical_plan::stream::RecordBatchStreamAdapter<S> as futures_core::stream::Stream>::poll_next(__internal__:0)
        at Java_org_apache_comet_Native_executePlan(__internal__:0)

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

@mbutrovich
Copy link
Contributor

abd9f85 does not show the issue.

@viirya
Copy link
Member

viirya commented Oct 15, 2024

I'm looking into this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants