tustvold commented on code in PR #3608:
URL: https://github.com/apache/arrow-rs/pull/3608#discussion_r1087868471


##########
arrow-flight/tests/encode_decode.rs:
##########
@@ -123,6 +123,33 @@ async fn test_zero_batches_schema_specified() {
     assert_eq!(decoder.schema(), Some(&schema));
 }
 
+#[tokio::test]
+async fn test_zero_batches_dictonary_schema_specified() {
+    let schema = Arc::new(Schema::new(vec![
+        Field::new("a", DataType::Int64, false),
+        Field::new(
+            "b",
+            DataType::Dictionary(Box::new(DataType::Int32), 
Box::new(DataType::Utf8)),
+            false,
+        ),
+    ]));
+
+    let expected_schema = Arc::new(Schema::new(vec![

Review Comment:
   ```suggestion
       // Expect dictionary to be hydrated in output (#3389)
       let expected_schema = Arc::new(Schema::new(vec![
   ```



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