alamb commented on code in PR #11133:
URL: https://github.com/apache/arrow-rs/pull/11133#discussion_r4053305655


##########
arrow-ord/src/sort.rs:
##########
@@ -934,6 +934,44 @@ pub fn lexsort(columns: &[SortColumn], limit: 
Option<usize>) -> Result<Vec<Array
 /// Sort elements lexicographically from a list of `ArrayRef` into an unsigned 
integer
 /// (`UInt32Array`) of indices.
 ///
+/// # Example
+///
+/// ```
+/// use std::sync::Arc;
+///
+/// use arrow_array::{ArrayRef, Int32Array, RecordBatch, StringArray};
+/// use arrow_ord::sort::{lexsort_to_indices, SortColumn};
+/// use arrow_select::take::take_record_batch;

Review Comment:
   ```suggestion
   /// # use std::sync::Arc;
   /// # use arrow_array::{ArrayRef, Int32Array, RecordBatch, StringArray};
   /// # use arrow_ord::sort::{lexsort_to_indices, SortColumn};
   /// # use arrow_select::take::take_record_batch;
   ```



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

Reply via email to