wgtmac commented on code in PR #1105:
URL: https://github.com/apache/iceberg-cpp/pull/1105#discussion_r4662803870
##########
src/iceberg/avro/avro_data_util.cc:
##########
@@ -748,15 +748,20 @@ Status ExtractDatumFromArray(const ::arrow::Array& array,
int64_t index,
return {};
}
- // TODO(gangwu): support LARGE_STRING.
case ::arrow::Type::STRING: {
const auto& string_array =
internal::checked_cast<const ::arrow::StringArray&>(array);
datum->value<std::string>() = string_array.GetString(index);
return {};
}
- // TODO(gangwu): support LARGE_BINARY.
+ case ::arrow::Type::LARGE_STRING: {
Review Comment:
The public Avro writer still imports batches using 32-bit offsets, so normal
writes never reach the new branches. Could you extend this PR to support them
end to end, with a round-trip test through the public Avro writer and reader?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]