rdblue commented on a change in pull request #3820:
URL: https://github.com/apache/iceberg/pull/3820#discussion_r777622685



##########
File path: site/docs/spark-ddl.md
##########
@@ -360,3 +360,29 @@ ALTER TABLE prod.db.sample WRITE ORDERED BY category ASC 
NULLS LAST, id DESC NUL
 !!! Note
     Table write order does not guarantee data order for queries. It only 
affects how data is written to the table.
 
+Only local sorting can be set at the same time, use `LOCALLY ORDERED BY`

Review comment:
       This should first state that `WRITE ORDERED BY` sets a global ordering 
where rows are ordered across tasks, like using `ORDER BY` in an `INSERT` 
command. Then introduce `LOCALLY ORDERED BY` to order within each task but not 
across tasks.




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