alamb opened a new issue #188:
URL: https://github.com/apache/arrow-rs/issues/188


   *Note*: migrated from original JIRA: 
https://issues.apache.org/jira/browse/ARROW-11648
   
    
   {code:java}
   // schema: id: Utf8, attr: List<Dictionary<Utf8>>
           let input = json!([
               {"id": "a"},
               {"id": "b"},
               {"id": "c"},
               {"id": "d"},
               {"id": "e"},
           ]);
   
   // Results in ArrowError("InvalidArgumentError(\"all columns in a record 
batch must have the same length\")"){code}
   Probably related to `list_array_string_array_builder` around line 688:
   {code:java}
   if let Some(value) = row.get(col_name) { 
   ...
   }
   // no else{code}
    
   
   Expected: The resulting array should have a length equal to the number of 
rows, all nested lists should be marked as null.


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

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


Reply via email to