samredai commented on a change in pull request #4463:
URL: https://github.com/apache/iceberg/pull/4463#discussion_r840586274



##########
File path: docs/spark/spark-writes.md
##########
@@ -311,7 +311,9 @@ distribution & sort order to Spark.
 {{< /hint >}}
 
 {{< hint info >}}
-Both global sort (`orderBy`/`sort`) and local sort (`sortWithinPartitions`) 
work for the requirement.
+To write with SQL, both global sort (`ORDER BY`) and local sort (`SORT BY`) 
work for the requirement.

Review comment:
       ```suggestion
   With SQL, you can use `ORDER BY` to achieve global sorting or `SORT BY` to 
achieve local sorting.
   ```




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