philo-he commented on issue #12474:
URL: https://github.com/apache/gluten/issues/12474#issuecomment-4922358662

   @littlelittlewhite09, Thanks for raising this. Gluten already has an 
`EnsureLocalSortRequirements` rule that restores the local sort needed to 
satisfy operators' requiredChildOrdering. However, in your case it looks like 
the file write doesn't expose its ordering requirement through 
`requiredChildOrdering`.
   
   One more thing: I notice the native write isn't used here. Was that a real 
fallback, or did you disable native write? Have you tried with native write 
enabled? That would help narrow down the fix.
   
   
https://github.com/apache/gluten/blob/5d9bced5d4c80115e4adfa5c82948615a5a31277/gluten-substrait/src/main/scala/org/apache/gluten/extension/columnar/EnsureLocalSortRequirements.scala#L33
   
   


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