From a360cbb891f376e99f9ff09263bd90a93926bccc Mon Sep 17 00:00:00 2001 From: Jannik Steinmann Date: Fri, 12 Sep 2025 15:32:44 +0200 Subject: [PATCH 1/2] Derive PartialOrd --- crates/iceberg/src/catalog/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/iceberg/src/catalog/mod.rs b/crates/iceberg/src/catalog/mod.rs index f9e17808ae..234821274a 100644 --- a/crates/iceberg/src/catalog/mod.rs +++ b/crates/iceberg/src/catalog/mod.rs @@ -225,7 +225,7 @@ impl Display for NamespaceIdent { } /// TableIdent represents the identifier of a table in the catalog. -#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, Hash)] +#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, PartialOrd, Hash)] pub struct TableIdent { /// Namespace of the table. pub namespace: NamespaceIdent, From edc5be47f073ec7849de787ac4540e5dd69ed890 Mon Sep 17 00:00:00 2001 From: Jannik Steinmann Date: Wed, 17 Sep 2025 00:56:30 +0200 Subject: [PATCH 2/2] Derive Ord --- crates/iceberg/src/catalog/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/iceberg/src/catalog/mod.rs b/crates/iceberg/src/catalog/mod.rs index 234821274a..77b171ee30 100644 --- a/crates/iceberg/src/catalog/mod.rs +++ b/crates/iceberg/src/catalog/mod.rs @@ -225,7 +225,7 @@ impl Display for NamespaceIdent { } /// TableIdent represents the identifier of a table in the catalog. -#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, PartialOrd, Hash)] +#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct TableIdent { /// Namespace of the table. pub namespace: NamespaceIdent,