Nachiket-Roy opened a new pull request, #19508:
URL: https://github.com/apache/datafusion/pull/19508

   ## Which issue does this PR close?
   
   Closes N/A (no existing issue)
   This change addresses a compiler warning observed during local test runs and 
does not correspond to a tracked bug or feature request.
   
   ## Rationale for this change
   
   During local test runs, the helper function ctx_and_codec in 
datafusion/ffi/tests/utils triggered a dead_code warning.
   While the function is currently unused, it encapsulates non-trivial setup 
logic for FFI integration tests and is expected to be reused as FFI test 
coverage expands.
   This change documents the intent of the helper and explicitly marks it as 
intentionally retained scaffolding, improving code clarity.
   
   ## What changes are included in this PR?
   
   - Added documentation explaining the purpose of the ctx_and_codec helper
   - Explicitly marked the helper as intentionally unused to silence dead_code 
warnings
   
   
   ## Are these changes tested?
   
   Yes.
   - This change is documentation-only and does not affect runtime behavior.
   - Existing test coverage remains unchanged and continues to pass.
   
   ## Are there any user-facing changes?
   
   No.
   This PR only affects internal test utilities and does not impact public APIs 
or user-facing behavior.


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