Skip to content

Commit 421b3fa

Browse files
committed
address pr comments
- updated error message
1 parent 6470f34 commit 421b3fa

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

crates/catalog/glue/src/catalog.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -742,17 +742,15 @@ impl Catalog for GlueCatalog {
742742
match error {
743743
CreateTableError::EntityNotFoundException(_) => Error::new(
744744
ErrorKind::NamespaceNotFound,
745-
format!("Database {} does not exist", db_name),
745+
format!("Database {db_name} does not exist"),
746746
),
747747
CreateTableError::AlreadyExistsException(_) => Error::new(
748748
ErrorKind::TableAlreadyExists,
749-
format!("Table {}.{} already exists", db_name, table_name),
749+
format!("Table {table_ident} already exists"),
750750
),
751751
_ => Error::new(
752752
ErrorKind::Unexpected,
753-
format!(
754-
"Failed to register table {}.{} due to AWS SDK error",
755-
db_name, table_name
753+
format!("Failed to register table {table_ident} due to AWS SDK error",
756754
),
757755
),
758756
}

0 commit comments

Comments
 (0)