Skip to content

Commit 933b5d6

Browse files
committed
INLINED does not need to be padded
1 parent 910ba7b commit 933b5d6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dev/archery/archery/integration/datagen.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,10 +783,9 @@ def _get_buffers(self):
783783

784784
if len(v) <= INLINE_SIZE:
785785
# Append an inline view, skip data buffer management.
786-
inlined = self._encode_value(v.ljust(12, b'\0'))
787786
views.append(OrderedDict([
788787
('SIZE', len(v)),
789-
('INLINED', inlined),
788+
('INLINED', self._encode_value(v)),
790789
]))
791790
continue
792791

0 commit comments

Comments
 (0)