fn flush_dict( indices: &mut Vec<i32>, symbols: &[String], nulls: Option<NullBuffer>, ) -> Result<ArrayRef, ArrowError>