Conversation
| DataType::Dictionary(_, _) => { | ||
| let array = array.as_any_dictionary(); | ||
| let values = date_part(array.values(), part)?; | ||
| let values = Arc::new(values) as ArrayRef; |
|
Note: This PR is really just fixing the examples I found so far. I suspect I found them all (by removing the |
|
@alamb -- something seems to have gone wrong with CI -- one job failed to acquire an instance to run on, and after 15 minutes everything canceled. Is that normal? |
|
Close/reopen to retrigger CI |
|
Same thing again...
|
|
https://www.githubstatus.com/
Appears to be github related |
|
Woohoo! |

Which issue does this PR close?
Rationale for this change
Because
Arc<dyn Array>(ArrayRef) implementsArray, it's easy to create redundantArc<Arc<dyn Array>>. The extra indirection is pure overhead (both cognitive and runtime) with no benefit.What changes are included in this PR?
Remove the redundant wrapping.
Are these changes tested?
Compilation suffices -- failing to wrap a concrete array type in Arc would cause compilation failures.
Are there any user-facing changes?
No.