LarryHu0217 commented on PR #50501: URL: https://github.com/apache/arrow/pull/50501#issuecomment-5094638484
The failed C++ jobs exposed that registering a synthetic dictionary kernel changed the public dispatch contract for every pure unary `ScalarFunction`, which also affected cast and expression behavior. I moved the generic support to the eager `ScalarFunction::Execute` path in fdfa405. Existing dictionary kernels still take precedence. When no dictionary kernel matches, a fixed-arity pure unary function is applied to the dictionary values and expanded through the original indices. The fallback covers array, scalar, chunked-array, and empty-chunked inputs while leaving `DispatchBest`/`DispatchExact` unchanged. This restores the previously failing `TestUnaryArithmetic.DispatchBest`, `TestUnaryRound.DispatchBestRound`, and `Cast.ExtensionDictToExtension` tests. Local validation passed: compute internals 73/73, scalar cast 108/108, scalar type/string 255/255, scalar math 526 passed with 26 existing half-float skips, and expression 47/47. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
