Skip to content

Commit 30ced99

Browse files
DerGutFokko
andauthored
feat: TableIdent derives PartialOrd (#1670)
## Which issue does this PR close? Closes #1669 ## What changes are included in this PR? `TableIdent` now derives `PartialOrd`. ## Are these changes tested? No, it's only derived behavior. I'm happy to add a test, but I'm not 100% convinced it would add value. --------- Co-authored-by: Fokko Driesprong <fokko@apache.org>
1 parent c5cb9d5 commit 30ced99

File tree

1 file changed

+1
-1
lines changed
  • crates/iceberg/src/catalog

1 file changed

+1
-1
lines changed

crates/iceberg/src/catalog/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ impl Display for NamespaceIdent {
225225
}
226226

227227
/// TableIdent represents the identifier of a table in the catalog.
228-
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, Hash)]
228+
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
229229
pub struct TableIdent {
230230
/// Namespace of the table.
231231
pub namespace: NamespaceIdent,

0 commit comments

Comments
 (0)