File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -742,17 +742,15 @@ impl Catalog for GlueCatalog {
742
742
match error {
743
743
CreateTableError :: EntityNotFoundException ( _) => Error :: new (
744
744
ErrorKind :: NamespaceNotFound ,
745
- format ! ( "Database {} does not exist" , db_name ) ,
745
+ format ! ( "Database {db_name } does not exist" ) ,
746
746
) ,
747
747
CreateTableError :: AlreadyExistsException ( _) => Error :: new (
748
748
ErrorKind :: TableAlreadyExists ,
749
- format ! ( "Table {}.{} already exists" , db_name , table_name ) ,
749
+ format ! ( "Table {table_ident} already exists" ) ,
750
750
) ,
751
751
_ => Error :: new (
752
752
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" ,
756
754
) ,
757
755
) ,
758
756
}
You can’t perform that action at this time.
0 commit comments