You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "mbrobbel (via GitHub)" <gi...@apache.org> on 2025/10/09 07:37:05 UTC

[PR] Avoid panics and warnings when building avro without default features [arrow-rs]

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

   # Which issue does this PR close?
   
   None.
   
   # Rationale for this change
   
   `cargo -p arrow-avro test --no-default-features` builds with warnings and panics because of missing features.
   
   # What changes are included in this PR?
   
   Add the required feature gates to avoid problems when building without default features.
   
   # Are these changes tested?
   
   Tested: `cargo -p arrow-avro test --no-default-features` 
   
   # Are there any user-facing changes?
   
   No.


-- 
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] Avoid panics and warnings when building avro without default features [arrow-rs]

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

   Thanks all@


-- 
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] Avoid panics and warnings when building avro without default features [arrow-rs]

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


-- 
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] Avoid panics and warnings when building avro without default features [arrow-rs]

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


##########
arrow-avro/src/reader/mod.rs:
##########
@@ -2033,6 +2030,8 @@ mod test {
     }
 
     #[test]
+    // TODO: avoid requiring snappy for this file

Review Comment:
   I noticed that as well. Not 100% why that's the case, but those files are in the `arrow-testing` repo. My guess would be that it was an attempt at making the test files smaller.



-- 
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] Avoid panics and warnings when building avro without default features [arrow-rs]

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


##########
arrow-avro/src/reader/mod.rs:
##########
@@ -2033,6 +2030,8 @@ mod test {
     }
 
     #[test]
+    // TODO: avoid requiring snappy for this file

Review Comment:
   I noticed that as well. Not 100% why that's the case, but those files are in the `arrow-testing` repo. I think it's worth fixing imo.



-- 
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] Avoid panics and warnings when building avro without default features [arrow-rs]

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


##########
arrow-avro/src/reader/mod.rs:
##########
@@ -2033,6 +2030,8 @@ mod test {
     }
 
     #[test]
+    // TODO: avoid requiring snappy for this file

Review Comment:
   I noticed that as well. Not 100% why that's the case. My guess would be that it was an attempt at making the test files smaller.
   
   We probably do want some of these files truly uncompressed testing purposes though.



-- 
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] Avoid panics and warnings when building avro without default features [arrow-rs]

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


##########
arrow-avro/src/reader/mod.rs:
##########
@@ -2033,6 +2030,8 @@ mod test {
     }
 
     #[test]
+    // TODO: avoid requiring snappy for this file

Review Comment:
   There are some files without `.snappy` that still seem to require `snappy`, not sure if that's expected or if we should fix 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