Kontinuation commented on code in PR #690:
URL: https://github.com/apache/sedona-db/pull/690#discussion_r2889163776
##########
rust/sedona-pointcloud/src/las/opener.rs:
##########
@@ -303,6 +324,11 @@ mod tests {
.collect()
.await
.unwrap();
- assert_eq!(result1, result2);
+
+ // Compare content independent of batch boundaries and partition
ordering.
+ // Sort by the x column (index 0) to get a deterministic row order.
+ let batch1 = concat_and_sort(&result1, 0);
+ let batch2 = concat_and_sort(&result2, 0);
+ assert_eq!(batch1, batch2);
Review Comment:
Added comment to explain why sorting by the first column is sufficient
--
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]