justinmclean opened a new issue, #9137:
URL: https://github.com/apache/gravitino/issues/9137

   ### What would you like to be improved?
   
   
   Here's a unit test showing the issue:
   ```
     @Test
     public void testAllPartitionsComparator() {
       SortOrder defaultSortOrder =
           SortOrders.of(NamedReference.MetadataField.PARTITION_NAME_FIELD, 
SortDirection.ASCENDING);
   
       PartitionRange allPartitions = PartitionRange.ALL_PARTITIONS;
   
       Assertions.assertFalse(allPartitions.lowerPartitionName().isPresent());
       Assertions.assertFalse(allPartitions.upperPartitionName().isPresent());
       Assertions.assertEquals(defaultSortOrder, allPartitions.comparator());
     }
   ```
   
   ### How should we improve?
   
   Set comparator in the constructor.


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