You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "kosiew (via GitHub)" <gi...@apache.org> on 2026/02/05 08:24:39 UTC

[I] PhysicalExprAdapter - Schema Rewriter Cleanup [datafusion]

kosiew opened a new issue, #20161:
URL: https://github.com/apache/datafusion/issues/20161

   Refactor `PhysicalExprAdapter` and schema rewriter utilities to improve maintainability, extract helper functions, and update the factory pattern to be fallible. All changes must remain behavior-preserving.
   
   ## Scope
   
   This PR focuses on **cleanup and refactoring only** — no behavioral changes.
   
   ### Tasks
   
   - [ ] Refactor schema rewriter utilities for clarity
   - [ ] Extract reusable helper functions (nullability checks, metadata propagation, etc.)
   - [ ] Update adapter factory pattern to support fallible initialization
   - [ ] Consolidate duplicate logic in schema adaptation paths
   - [ ] Add unit tests to validate refactored code is behavior-preserving
   
   ### Files/Modules
   
   - `datafusion/physical-expr-adapter/src/schema_rewriter.rs`
   - `datafusion/physical-expr-adapter/src/lib.rs`
   - Related adapter tests
   
   ### Acceptance Criteria
   
   ✅ All existing tests pass without modification  
   ✅ Refactored code is clearer and more maintainable  
   ✅ No change in adapter output or behavior  
   ✅ New helper functions are well-documented  
   


-- 
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: github-unsubscribe@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] PhysicalExprAdapter - Schema Rewriter Cleanup [datafusion]

Posted by "adriangb (via GitHub)" <gi...@apache.org>.
adriangb closed issue #20161: PhysicalExprAdapter - Schema Rewriter Cleanup
URL: https://github.com/apache/datafusion/issues/20161


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org