{"record":{"id":"07d6275cef2e7135","repo":"pola-rs/polars","slug":"comparison-of-unionarrays-is-not-yet-supported","errorCode":null,"errorMessage":"Comparison of UnionArrays is not yet supported","messagePattern":"Comparison of UnionArrays is not yet supported","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/polars-compute/src/comparisons/array.rs","lineNumber":202,"sourceCode":"            PH::Primitive(PR::MonthDayMillis) => unimplemented!(),\n\n            #[cfg(feature = \"dtype-array\")]\n            PH::FixedSizeList => call_binary!(arrow::array::FixedSizeListArray),\n            #[cfg(not(feature = \"dtype-array\"))]\n            PH::FixedSizeList => todo!(\n                \"Comparison of FixedSizeListArray is not supported without dtype-array feature\"\n            ),\n\n            PH::Null => call_binary!(NullArray),\n            PH::FixedSizeBinary => call_binary!(FixedSizeBinaryArray),\n            PH::Binary => call_binary!(BinaryArray<i32>),\n            PH::LargeBinary => call_binary!(BinaryArray<i64>),\n            PH::Utf8 => call_binary!(Utf8Array<i32>),\n            PH::LargeUtf8 => call_binary!(Utf8Array<i64>),\n            PH::List => call_binary!(ListArray<i32>),\n            PH::LargeList => call_binary!(ListArray<i64>),\n            PH::Struct => call_binary!(StructArray),\n            PH::Union => todo!(\"Comparison of UnionArrays is not yet supported\"),\n            PH::Map => todo!(\"Comparison of MapArrays is not yet supported\"),\n            PH::Dictionary(I::Int8) => call_binary!(DictionaryArray<i8>),\n            PH::Dictionary(I::Int16) => call_binary!(DictionaryArray<i16>),\n            PH::Dictionary(I::Int32) => call_binary!(DictionaryArray<i32>),\n            PH::Dictionary(I::Int64) => call_binary!(DictionaryArray<i64>),\n            PH::Dictionary(I::Int128) => call_binary!(DictionaryArray<i128>),\n            PH::Dictionary(I::UInt8) => call_binary!(DictionaryArray<u8>),\n            PH::Dictionary(I::UInt16) => call_binary!(DictionaryArray<u16>),\n            PH::Dictionary(I::UInt32) => call_binary!(DictionaryArray<u32>),\n            PH::Dictionary(I::UInt64) => call_binary!(DictionaryArray<u64>),\n            PH::Dictionary(I::UInt128) => call_binary!(DictionaryArray<u128>),\n        }\n    }};\n}\n\nfn array_fsl_tot_eq_missing_kernel(\n    values: &dyn Array,\n    scalar: &dyn Array,","sourceCodeStart":184,"sourceCodeEnd":220,"githubUrl":"https://github.com/pola-rs/polars/blob/9b5d73fd00236295624374b075d16b1fe6ec6df9/crates/polars-compute/src/comparisons/array.rs#L184-L220","documentation":"unimplemented!/todo!() arm in the comparison kernel dispatch: comparing arrays of the matched physical type (e.g. UnionArray or MonthDayMillis interval) has no kernel in this build. Signals unsupported functionality for that dtype in comparisons, not invalid user input.","triggerScenarios":"This panic/expect fires when execution reaches an unguarded state described by: \"Comparison of UnionArrays is not yet supported\". Typical triggers: unsupported dtype or feature-gated code path reached at runtime, invalid user input or environment variable value, calling API methods in the wrong order or on mismatched types, or data (lengths, offsets, ranges) violating the function's preconditions.","commonSituations":"Encountered when input data or configuration does not meet the preconditions of the throwing code path (\"Comparison of UnionArrays is not yet supported\"). Common cases: missing Cargo feature flags, mismatched dtypes/lengths between arrays or series, out-of-range temporal values, malformed environment variables, or operations on unsupported/complex nested types.","solutions":["Comparison of UnionArrays is not supported; convert the union to a concrete type (e.g. via casting or flattening) before comparing.","Compare the union's child arrays individually instead of the union array itself."],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9b5d73fd00236295624374b075d16b1fe6ec6df9","analyzedAt":"2026-08-19T12:15:06.350Z","contentChangedAt":"2026-08-19T12:15:06.350Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}