apache / datafusion

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

Remove DataPtr trait and use Arc::ptr_eq directly #10377

Closed intoraw closed 1 week ago

intoraw commented 2 weeks ago

Is your feature request related to a problem or challenge?

https://github.com/rust-lang/rust/pull/106450 Arc::ptr_eq compares the underlying pointer without metadata, it should be safe to use Arc::ptr_eq now.

Describe the solution you'd like

Remove DataPtr trait and use Arc::ptr_eq directly.

Describe alternatives you've considered

No response

Additional context

No response