alamb commented on code in PR #27593:
URL: https://github.com/apache/datafusion/pull/27593#discussion_r4672107354


##########
datafusion/datasource/src/file_compression_type.rs:
##########
@@ -355,4 +373,128 @@ mod tests {
 
         Ok(())
     }
+
+    #[cfg(feature = "compression")]

Review Comment:
   I would prefer we remove these tests and add something like 
`bytes_after_the_last_member_are_an_error` to the end to end tests instead



##########
datafusion/datasource/src/file_compression_type.rs:
##########
@@ -355,4 +373,128 @@ mod tests {
 
         Ok(())
     }
+
+    #[cfg(feature = "compression")]

Review Comment:
   what extra coverage do these unit tests add that are not already covered in 
datafusion/core/tests/datasource/compression.rs ?
   
   I think we can slim this PR down by removing them



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to