polaris6 opened a new pull request #4463: URL: https://github.com/apache/iceberg/pull/4463
I am using spark sql to write data, the amount of data is very large, so I don't want to sort the data globally, but I didn't find an example of partial sorting in the documentation, I want to add it here, thanks! Sort by definition in spark sql documentation: https://spark.apache.org/docs/latest/sql-ref-syntax-qry-select-sortby.html <img width="812" alt="image" src="https://user-images.githubusercontent.com/29967142/161223329-0a593296-049f-4d21-ba02-d7711259d83b.png"> The test: The first step is to create a table: <img width="762" alt="wecom-temp-0f83c792cf74f323d1f2dc9431255605" src="https://user-images.githubusercontent.com/29967142/161223676-d070a45a-6180-4641-a52f-651f41db90c9.png"> Then query the data by sort by: <img width="863" alt="wecom-temp-7a6e180f1068256a1eb80b87156a8bf6" src="https://user-images.githubusercontent.com/29967142/161223812-7d89515f-6538-4f7d-91c8-1a8c32c105d6.png"> -- 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]
