felipecrv commented on code in PR #37174:
URL: https://github.com/apache/arrow/pull/37174#discussion_r1297291851
##########
cpp/src/arrow/c/bridge_test.cc:
##########
@@ -443,6 +444,13 @@ TEST_F(TestSchemaExport, Union) {
{ARROW_FLAG_NULLABLE});
}
+TEST_F(TestSchemaExport, RunEndEncoded) {
+ TestNested(run_end_encoded(int16(), uint8()), {"+r", "s", "C"},
+ {"", "run_ends", "values"}, {ARROW_FLAG_NULLABLE, 0,
ARROW_FLAG_NULLABLE});
+ TestNested(run_end_encoded(int64(), int32()), {"+r", "l", "i"},
Review Comment:
The best I can do is a string array because `run_end_encode` doesn't produce
REE-encoded arrays of nested values.
https://github.com/apache/arrow/blob/main/cpp/src/arrow/compute/kernels/vector_run_end_encode.cc#L601-L621
My reasoning for de-prioritizing that was that gains from run-end encoding
complex objects (lists, structs) are less likely.
--
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]