@@ -58,7 +58,7 @@ impl ValuePrettyPrinter for UuidValuePrettyPrinter {
5858 )
5959 } ) ?;
6060 let uuid = uuid:: Uuid :: from_bytes ( bytes) ;
61- Ok ( format ! ( "arrow.uuid({})" , uuid ) )
61+ Ok ( format ! ( "arrow.uuid({uuid })" ) )
6262 }
6363 None => Ok ( "arrow.uuid(NULL)" . to_owned ( ) ) ,
6464 } ,
@@ -102,7 +102,7 @@ struct OpaqueValuePrettyPrinter;
102102
103103impl ValuePrettyPrinter for OpaqueValuePrettyPrinter {
104104 fn pretty_print_scalar ( & self , value : & ScalarValue ) -> Result < String > {
105- Ok ( format ! ( "arrow.opaque({})" , value ) )
105+ Ok ( format ! ( "arrow.opaque({value })" ) )
106106 }
107107}
108108
@@ -158,7 +158,7 @@ impl LogicalType for UnresolvedExtensionType {
158158 parameters : vec ! [ ] ,
159159 } ) ;
160160 TypeSignature :: Extension {
161- name : & "datafusion.unresolved" ,
161+ name : "datafusion.unresolved" ,
162162 parameters : vec ! [ inner_type] ,
163163 }
164164 }
@@ -175,7 +175,7 @@ struct UnresolvedValuePrettyPrinter {}
175175
176176impl ValuePrettyPrinter for UnresolvedValuePrettyPrinter {
177177 fn pretty_print_scalar ( & self , value : & ScalarValue ) -> Result < String > {
178- Ok ( format ! ( "datafusion.unresolved({})" , value ) )
178+ Ok ( format ! ( "datafusion.unresolved({value })" ) )
179179 }
180180}
181181
0 commit comments