Skip to content

org.apache.comet.CometNativeException: assertion failed: !self.format.is_null() #2737

@andygrove

Description

@andygrove

Describe the bug

Both @comphead and I have run into this issue while attempting to disable WindowExec via config. I am investigating.

org.apache.comet.CometNativeException: assertion failed: !self.format.is_null()
        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::backtrace::__rust_end_short_backtrace(__internal__:0)
        at __rustc::rust_begin_unwind(__internal__:0)
        at core::panicking::panic_fmt(__internal__:0)
        at core::panicking::panic(__internal__:0)
        at arrow_schema::ffi::<impl core::convert::TryFrom<&arrow_schema::ffi::FFI_ArrowSchema> for arrow_schema::datatype::DataType>::try_from(__internal__:0)
        at arrow_array::ffi::from_ffi(__internal__:0)
        at <arrow_data::data::ArrayData as comet::execution::utils::SparkArrowConvert>::from_spark(__internal__:0)
        at comet::execution::operators::scan::ScanExec::get_next(__internal__:0)
        at comet::execution::operators::scan::ScanExec::new(__internal__:0)
        at comet::execution::planner::PhysicalPlanner::create_plan(__internal__:0)
        at comet::execution::jni_api::Java_org_apache_comet_Native_executePlan::{{closure}}::{{closure}}(__internal__:0)
        at Java_org_apache_comet_Native_executePlan(__internal__:0)

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions