Dandandan opened a new pull request, #21823:
URL: https://github.com/apache/datafusion/pull/21823

   ## Which issue does this PR close?
   
   - Closes #.
   
   ## Rationale for this change
   
   Avoid deep-copying values behind Arc when the Arc is uniquely owned by using 
Arc::unwrap_or_clone.
   
   ## What changes are included in this PR?
   
   Replaces several owned Arc<T> pointee clones with Arc::unwrap_or_clone, 
including logical plans, schemas, fields, expressions, and statistics.
   
   ## Are these changes tested?
   
   - cargo fmt --all
   - cargo check -p datafusion-optimizer -p datafusion-physical-plan -p 
datafusion-datasource-arrow -p datafusion-sql -p datafusion-expr -p datafusion 
-p datafusion-ffi -p datafusion-substrait --lib
   
   cargo clippy --all-targets --all-features -- -D warnings was attempted but 
is currently blocked by unrelated failures: an existing mutable_key_type lint 
in datafusion/expr/src/logical_plan/plan.rs and mutually exclusive 
snmalloc/mimalloc features in datafusion-benchmarks under --all-features.
   
   ## Are there any user-facing changes?
   
   No.


-- 
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]

Reply via email to