-
Notifications
You must be signed in to change notification settings - Fork 796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make downcast macros hygenic (#6400) #6620
Conversation
@@ -21,6 +21,11 @@ use crate::array::*; | |||
use crate::types::*; | |||
use arrow_data::ArrayData; | |||
|
|||
#[doc(hidden)] | |||
pub mod __private { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the module name that serde uses for this purpose
6924590
to
0423ec1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @tustvold -- this looks good to me -- it might also be worth adding some tests. Perhaps you can follow @crepererum 's model in DataFusion
https://github.com/apache/datafusion/blob/main/datafusion/core/tests/macro_hygiene/mod.rs
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
needs a formatting fix |
I pushed a fix for |
Thanks again @tustvold and @crepererum |
Which issue does this PR close?
Closes #6400
Rationale for this change
What changes are included in this PR?
Are there any user-facing changes?