apache / datafusion

Apache DataFusion SQL Query Engine
https://datafusion.apache.org/
Apache License 2.0
6.33k stars 1.2k forks source link

Make DFSchema::datatype_is_semantically_equal public #13429

Closed Sevenannn closed 6 days ago

Sevenannn commented 1 week ago

Which issue does this PR close?

N/A

Rationale for this change

I’m trying to implement a schema comparison functionality in my project based on the semantic equality of DFSchema. However the helper function datatype_is_semantically_equal is currently private. It would be really helpful if this could be made public, similar to datatype_is_logically_equal.

What changes are included in this PR?

Make DFSchema::datatype_is_semantically_equal public

Are these changes tested?

N/A

Are there any user-facing changes?

Yes, Documentation needs to be updated to reflect the new public function