jonahgao commented on PR #6722:
URL: 
https://github.com/apache/arrow-datafusion/pull/6722#issuecomment-1608798397

   > Thanks. Functionally wise it works as expected, I still think we can reuse 
`Schema::equivalent_names_and_types` and not creating a separate method. So it 
can be replaced something like
   > 
   > ```
   > fn foo(schema: DFSchema, other: DFSchema) -> Result<bool> {
   >     
SchemaRef::from(schema).equivalent_names_and_types(SchemaRef::from(other))
   > }
   > ```
   
   Perhaps the best way is to have upstream support for this similar 
functionality.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to