alamb commented on code in PR #7574:
URL: https://github.com/apache/arrow-datafusion/pull/7574#discussion_r1328687888


##########
datafusion/proto/src/physical_plan/mod.rs:
##########
@@ -1993,4 +2024,19 @@ mod roundtrip_tests {
 
         roundtrip_test(plan)
     }
+
+    #[test]
+    fn rountrip_analyze() -> Result<()> {
+        let field_a = Field::new("plan_type", DataType::Utf8, false);
+        let field_b = Field::new("plan", DataType::Utf8, false);
+        let schema = Schema::new(vec![field_a, field_b]);
+        let input = Arc::new(EmptyExec::new(true, Arc::new(schema.clone())));
+
+        roundtrip_test(Arc::new(AnalyzeExec::new(

Review Comment:
   ❤️ 



##########
datafusion/proto/src/physical_plan/mod.rs:
##########
@@ -1993,4 +2024,19 @@ mod roundtrip_tests {
 
         roundtrip_test(plan)
     }
+
+    #[test]
+    fn rountrip_analyze() -> Result<()> {
+        let field_a = Field::new("plan_type", DataType::Utf8, false);
+        let field_b = Field::new("plan", DataType::Utf8, false);
+        let schema = Schema::new(vec![field_a, field_b]);
+        let input = Arc::new(EmptyExec::new(true, Arc::new(schema.clone())));
+
+        roundtrip_test(Arc::new(AnalyzeExec::new(

Review Comment:
   ❤️ 



-- 
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]

Reply via email to