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

   # Which issue does this PR close?
   
   Closes #26306
   
   # Rationale for this change
   
   The test module in `datafusion/core/src/datasource/physical_plan/csv.rs` 
defined a private `aggr_test_schema()` that was a duplicate of the public 
`datafusion::test_util::aggr_test_schema()`. This created redundant code and a 
risk of schema drift if the shared schema is updated.
   
   # What changes are included in this PR?
   
   - Removed the private duplicate `aggr_test_schema()` in 
`datafusion/core/src/datasource/physical_plan/csv.rs`.
   - Imported and used `crate::test_util::aggr_test_schema` directly in the 
test module.
   
   # Are there any user-facing changes?
   
   No. This only affects internal test utilities.


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