tustvold commented on issue #6821:
URL: https://github.com/apache/arrow-rs/issues/6821#issuecomment-2509789951

   This indeed looks like a bug, and should be a relatively straightforward 
fix. The issue can be clearly seen when one compares the logic for StringArray 
with DictionaryArray
   
   ```
   rows.iter()
     .map(|row| {
         let s = row.get(i);
         (!null_regex.is_null(s)).then_some(s)
     })
     .collect::<StringArray>(),
   ```
   
   vs
   
   ```
   rows.iter()
     .map(|row| row.get(i))
     .collect::<DictionaryArray<Int8Type>>(),
   ```


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