fenfeng9 commented on code in PR #50166:
URL: https://github.com/apache/arrow/pull/50166#discussion_r3500519866
##########
dev/archery/archery/integration/datagen.py:
##########
@@ -671,6 +677,13 @@ def _get_type(self):
return OrderedDict([('name', 'binaryview')])
+class InlineBinaryViewField(BinaryViewField):
+ # Generate only inline values, leaving no variadic data buffers.
+
+ def _random_sizes(self, size):
+ return np.arange(size, dtype=np.int32) % (BINARY_VIEW_INLINE_SIZE + 1)
Review Comment:
update to `np.random.randint`
--
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]