wgtmac commented on code in PR #124: URL: https://github.com/apache/iceberg-cpp/pull/124#discussion_r2162826126
########## src/iceberg/avro/avro_data_util_internal.h: ########## @@ -26,10 +26,21 @@ namespace iceberg::avro { +/// \brief Append an Avro datum to an Arrow array builder. +/// +/// This function handles schema evolution by using the provided projection to map +/// fields from the Avro data to the expected Arrow schema. +/// +/// \param avro_node The Avro schema node (must be a record at root level) +/// \param avro_datum The Avro data to append +/// \param projection Schema projection from `projected_schema` to `avro_node` +/// \param projected_schema The projected schema +/// \param array_builder The Arrow array builder to append to (must be a struct builder) Review Comment: That requires additional cast before using this function. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org