pedrumj2 commented on issue #13647:
URL: https://github.com/apache/gluten/issues/13647#issuecomment-7018582040

   > [@pedrumj2](https://github.com/pedrumj2), I think we can handle the 
duplication case by case. 
[apache/spark#60710](https://github.com/apache/spark/pull/60710) should already 
cover the RuntimeNullChecksV2Writes copies from 
[#12976](https://github.com/apache/gluten/pull/12976) once a Spark release 
ships it. For tests that can't be fixed without bigger changes in Spark, and 
for Spark old releases, whose released test jars a Spark change won't reach, we 
could try to handle them on the Gluten side instead. For example, if a copied 
test is identical across Spark versions, we can keep a single copy in a module 
shared by those versions rather than duplicating it per version.
   
   Thanks for the follow up @philo-he. Just to create a conclusion on this 
proposal. In terms of priority if I understand correctly:
   
   1. First priority would be to handle via Option2 (refactoring tests in Spark 
to allow assertions to be overridable)
   2. When that is not available we can create single copy of test inside 
gluten for different spark versions. 
   
   Just to confirm would the original proposal be out the door (translating the 
gluten exception to spark) or is that also something we can consider when 
Option2 is not available to us? 
   


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