LuciferYang opened a new pull request, #56695:
URL: https://github.com/apache/spark/pull/56695

   ### What changes were proposed in this pull request?
   
   This PR removes `VariantShreddingWriter.addVariantValueVariant`, a `private 
static` method that has no callers. It is a one-line delegation to 
`ShreddedResult.addVariantValue`; the live shredding path already calls 
`result.addVariantValue(...)` directly.
   
   ### Why are the changes needed?
   
   Dead code cleanup. The method has been unreferenced since it was first added 
in [SPARK-48898](https://issues.apache.org/jira/browse/SPARK-48898) (`Add 
Variant shredding functions`) - it never had a caller. Removing it keeps 
`VariantShreddingWriter` easier to read.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   No new tests are needed; this only removes unreachable code. Existing 
variant tests still pass.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   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