pitrou commented on code in PR #37174:
URL: https://github.com/apache/arrow/pull/37174#discussion_r1297327229
##########
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.
You can simply build the REE array from its components (see my suggestion
for a `REEArrayFromJSON`).
--
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]