JkSelf commented on PR #5698:
URL: 
https://github.com/apache/incubator-gluten/pull/5698#issuecomment-2105503886

   @zhztheplayer @ulysses-you 
   Thank you very much for the optimization and suggestions. Indeed, extending 
a case class in Scala is not considered good practice. However, introducing 
such significant changes for this fix could complicate future code maintenance. 
I believe the root of the issue lies with vanilla Spark, and there should be an 
abstraction of the WriteFilesExec class to facilitate extension. I see that a 
similar abstraction has already been done with 
[BaseAggregateExec](https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/BaseAggregateExec.scala#L30)
 in the current vanilla Spark. Could we possibly submit a PR to the Spark 
community to address this issue?


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