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


##########
datafusion/common/src/config.rs:
##########
@@ -2093,3 +2094,22 @@ mod tests {
         assert_eq!(parsed_metadata.get("key_dupe"), Some(&Some("B".into())));
     }
 }
+
+#[cfg(test)]
+mod tests_isolated {
+    // The point of this test is to check that the config_namespace! macro
+    // can compile without any surrounding `use` statements. Hence putting
+    // it into its own test module.
+    #[test]
+    fn check_config_namespace_macro() {

Review Comment:
   I believe this location / test is exactly for ensuring macro's don't import 
things unnecessarily: 
https://github.com/apache/datafusion/tree/main/datafusion/core/tests/macro_hygiene
   
   How about we put this test there?



-- 
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-unsubscr...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to