You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "tustvold (via GitHub)" <gi...@apache.org> on 2024/10/24 12:25:19 UTC

[PR] Make downcast macros hygenic (#6400) [arrow-rs]

tustvold opened a new pull request, #6620:
URL: https://github.com/apache/arrow-rs/pull/6620

   # Which issue does this PR close?
   
   <!--
   We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123.
   -->
   
   Closes #6400
   
   # Rationale for this change
    
   <!--
   Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed.
   Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes.
   -->
   
   # What changes are included in this PR?
   
   <!--
   There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR.
   -->
   
   # Are there any user-facing changes?
   
   
   <!--
   If there are user-facing changes then we may require documentation to be updated before approving the PR.
   -->
   
   <!---
   If there are any breaking changes to public APIs, please add the `breaking change` label.
   -->
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Make downcast macros hygenic (#6400) [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on code in PR #6620:
URL: https://github.com/apache/arrow-rs/pull/6620#discussion_r1814877295


##########
arrow-array/src/cast.rs:
##########
@@ -21,6 +21,11 @@ use crate::array::*;
 use crate::types::*;
 use arrow_data::ArrayData;
 
+#[doc(hidden)]
+pub mod __private {

Review Comment:
   This is the module name that serde uses for this purpose



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Make downcast macros hygenic (#6400) [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #6620:
URL: https://github.com/apache/arrow-rs/pull/6620#issuecomment-2465200401

   I pushed a fix for `fmt` to the branch to get CI passing and will merge after that


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Make downcast macros hygenic (#6400) [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #6620:
URL: https://github.com/apache/arrow-rs/pull/6620#issuecomment-2465225792

   Thanks again @tustvold and @crepererum 


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Make downcast macros hygenic (#6400) [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on code in PR #6620:
URL: https://github.com/apache/arrow-rs/pull/6620#discussion_r1819192249


##########
arrow-array/src/cast.rs:
##########
@@ -21,6 +21,11 @@ use crate::array::*;
 use crate::types::*;
 use arrow_data::ArrayData;
 
+#[doc(hidden)]
+pub mod __private {

Review Comment:
   Some context might be nice:
   
   ```suggestion
   /// Re-export symbols needed for downcast macros
   /// 
   /// Name follows `serde` convention
   #[doc(hidden)]
   pub mod __private {
   ```



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Make downcast macros hygenic (#6400) [arrow-rs]

Posted by "crepererum (via GitHub)" <gi...@apache.org>.
crepererum commented on PR #6620:
URL: https://github.com/apache/arrow-rs/pull/6620#issuecomment-2464174673

   needs a formatting fix


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Make downcast macros hygenic (#6400) [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb merged PR #6620:
URL: https://github.com/apache/arrow-rs/pull/6620


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org