nathanb9 opened a new pull request, #22984: URL: https://github.com/apache/datafusion/pull/22984
## Which issue does this PR close? Follow-up to #22934 / #22784. Per [@alamb's suggestion](https://github.com/apache/datafusion/pull/22934#issuecomment-3489), reuse the existing `ColumnarValue::into_array` instead of adding a new method. ## What changes are included in this PR? `map.rs`'s private `expand_if_scalar` helper hand-rolled the Scalar→expand / Array→passthrough logic that `ColumnarValue::into_array(num_rows)` already provides. This delegates to it, keeping the helper's `ColumnarValue::Array` return so callers are unchanged. ## Are these changes tested? Yes — existing `map` unit tests and sqllogictests pass; no behavior change. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
