@@ -93,7 +93,7 @@ impl Catalog for RestCatalog {
9393 catalog_api_api:: drop_namespace (
9494 & self . configuration ,
9595 self . name . as_deref ( ) ,
96- & namespace. url_encode ( ) ,
96+ & namespace. to_string ( ) ,
9797 )
9898 . await
9999 . map_err ( Into :: < Error > :: into) ?;
@@ -107,7 +107,7 @@ impl Catalog for RestCatalog {
107107 let response = catalog_api_api:: load_namespace_metadata (
108108 & self . configuration ,
109109 self . name . as_deref ( ) ,
110- & namespace. url_encode ( ) ,
110+ & namespace. to_string ( ) ,
111111 )
112112 . await
113113 . map_err ( Into :: < Error > :: into) ?;
@@ -123,7 +123,7 @@ impl Catalog for RestCatalog {
123123 catalog_api_api:: update_properties (
124124 & self . configuration ,
125125 self . name . as_deref ( ) ,
126- & namespace. url_encode ( ) ,
126+ & namespace. to_string ( ) ,
127127 models:: UpdateNamespacePropertiesRequest { updates, removals } ,
128128 )
129129 . await
@@ -135,7 +135,7 @@ impl Catalog for RestCatalog {
135135 match catalog_api_api:: namespace_exists (
136136 & self . configuration ,
137137 self . name . as_deref ( ) ,
138- & namespace. url_encode ( ) ,
138+ & namespace. to_string ( ) ,
139139 )
140140 . await
141141 {
0 commit comments