kou commented on code in PR #46823:
URL: https://github.com/apache/arrow/pull/46823#discussion_r2153210150


##########
dev/archery/archery/integration/datagen.py:
##########
@@ -609,9 +609,9 @@ def generate_column(self, size, name=None):
 
         sizes = self._random_sizes(size)
 
-        for i, nbytes in enumerate(sizes):
+        for i, np_nbytes in enumerate(sizes):
             if is_valid[i]:
-                values.append(random_bytes(nbytes))
+                values.append(random_bytes(int(np_nbytes)))

Review Comment:
   Could you add a comment why we need this workaround and when we can remove 
this workaround?



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