JkSelf commented on code in PR #9733:
URL: https://github.com/apache/incubator-gluten/pull/9733#discussion_r2115006289
##########
gluten-substrait/src/main/scala/org/apache/gluten/execution/WriteFilesExecTransformer.scala:
##########
@@ -69,6 +71,83 @@ case class WriteFilesExecTransformer(
val caseInsensitiveOptions: CaseInsensitiveMap[String] =
CaseInsensitiveMap(options)
+ private def preProjectionNeeded(): Boolean = {
+ if (partitionColumns == null || partitionColumns.isEmpty) {
Review Comment:
Can we also skip the `partitionColumns.size() == 1` use case?
--
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]