Github user rxin commented on the issue:

    https://github.com/apache/spark/pull/16347
  
    Thanks for submitting the ticket. In general I don't think the 
sortWithinPartitions property can carry over to writing out data, because one 
partition actually corresponds to more than one file.
    
    Can your use case be satisfied by adding an explicit sortBy?
    
    ```
    df.write.sortBy(col).parquet(...)
    ```



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to