apache / datafusion

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

Fix DataFusionError use in schema_err macro #13488

Closed findepi closed 1 day ago

findepi commented 2 days ago

Which issue does this PR close?

none

Rationale for this change

Use declaring-crate-relative references so that macro use place does not need to import symbols it doesn't use.

What changes are included in this PR?

Improve schema_err macro

Are these changes tested?

by the compiler

Are there any user-facing changes?

no

alamb commented 1 day ago

Thanks again @findepi