Skip to content

Commit

Permalink
apply code suggestion from tustvold
Browse files Browse the repository at this point in the history
Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com>
  • Loading branch information
niebayes and tustvold authored Dec 13, 2024
1 parent eaa6a4e commit 80a83f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow-flight/src/sql/metadata/catalogs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl GetCatalogsBuilder {
/// [`CommandGetCatalogs`] response
pub fn build(self) -> Result<RecordBatch> {
let Self { mut catalogs } = self;
catalogs.sort();
catalogs.sort_unstable();

let batch = RecordBatch::try_new(
Arc::clone(&GET_CATALOG_SCHEMA),
Expand Down

0 comments on commit 80a83f6

Please sign in to comment.