pitrou commented on code in PR #50768:
URL: https://github.com/apache/arrow/pull/50768#discussion_r4071525645


##########
cpp/gdb_arrow.py:
##########
@@ -1999,6 +2015,12 @@ class FixedSizeListTypeClass(DataTypeClass):
     scalar_printer = BaseListScalarPrinter
 
 
+class RunEndEncodedTypeClass(DataTypeClass):
+    is_parametric = True
+    type_printer = RunEndEncodedTypePrinter
+    scalar_printer = BaseListScalarPrinter

Review Comment:
   This (using `BaseListScalarPrinter`) might work by chance, but I don't think 
this is conceptually right. Run-end-encoded is not a list type, and a 
run-end-encoded scalar represents a single child value, not an entire run of 
values.
   
   (as the tests show, by the way)



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