tustvold commented on code in PR #6864:
URL: https://github.com/apache/arrow-rs/pull/6864#discussion_r1882860199
##########
arrow-flight/src/sql/metadata/catalogs.rs:
##########
@@ -68,7 +68,8 @@ impl GetCatalogsBuilder {
/// builds a `RecordBatch` with the correct schema for a
/// [`CommandGetCatalogs`] response
pub fn build(self) -> Result<RecordBatch> {
- let Self { catalogs } = self;
+ let Self { mut catalogs } = self;
+ catalogs.sort();
Review Comment:
```suggestion
catalogs.sort_unstable();
```
--
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]