pitrou commented on code in PR #14223:
URL: https://github.com/apache/arrow/pull/14223#discussion_r1092139408
##########
dev/archery/archery/integration/datagen.py:
##########
@@ -939,6 +961,35 @@ def generate_column(self, size, name=None):
return StructColumn(name, size, is_valid, field_values)
+class RunEndEncodedField(Field):
+
+ def __init__(self, name, run_ends_bitwidth, values_field, *, nullable=True,
+ metadata=None):
+ super().__init__(name, nullable=nullable,
+ metadata=metadata)
+ self.run_ends_field = RunEndsField(
+ 'run_ends', run_ends_bitwidth, nullable=False)
+ self.values_field = values_field
+
+ def _get_type(self):
+ return OrderedDict([
+ ('name', 'runendencoded')
Review Comment:
```suggestion
('name', 'run_end_encoded')
```
--
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]