{"record":{"id":"1123974ce9d49ae0","repo":"pola-rs/polars","slug":"convertme-to-error","errorCode":null,"errorMessage":"Convertme to error","messagePattern":"Convertme to error","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/polars-compute/src/cast/mod.rs","lineNumber":140,"sourceCode":"        array.offsets().clone(),\n        new_values,\n        array.validity().cloned(),\n    ))\n}\n\nfn cast_list_to_large_list(array: &ListArray<i32>, to_type: &ArrowDataType) -> ListArray<i64> {\n    let offsets = array.offsets().into();\n\n    ListArray::<i64>::new(\n        to_type.clone(),\n        offsets,\n        array.values().clone(),\n        array.validity().cloned(),\n    )\n}\n\nfn cast_large_to_list(array: &ListArray<i64>, to_type: &ArrowDataType) -> ListArray<i32> {\n    let offsets = array.offsets().try_into().expect(\"Convertme to error\");\n\n    ListArray::<i32>::new(\n        to_type.clone(),\n        offsets,\n        array.values().clone(),\n        array.validity().cloned(),\n    )\n}\n\nfn cast_fixed_size_list_to_list<O: Offset>(\n    fixed: &FixedSizeListArray,\n    to_type: &ArrowDataType,\n    options: CastOptionsImpl,\n) -> PolarsResult<ListArray<O>> {\n    let new_values = cast(\n        fixed.values().as_ref(),\n        ListArray::<O>::get_child_type(to_type),\n        options,","sourceCodeStart":122,"sourceCodeEnd":158,"githubUrl":"https://github.com/pola-rs/polars/blob/df599052daf96e7a9cc30a3b0c6bd25d6947e3c0/crates/polars-compute/src/cast/mod.rs#L122-L158","documentation":"Error \"Convertme to error\" thrown in pola-rs/polars.","triggerScenarios":"Thrown at crates/polars-compute/src/cast/mod.rs:140 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"df599052daf96e7a9cc30a3b0c6bd25d6947e3c0","analyzedAt":"2026-08-16T12:10:03.978Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}