rip-nsk opened a new issue, #306:
URL: https://github.com/apache/iceberg-cpp/issues/306

   the following change resolves the issue
   
   ```diff
   diff --git a/src/iceberg/avro/avro_schema_util.cc 
b/src/iceberg/avro/avro_schema_util.cc
   index d315eb2..596f0c8 100644
   --- a/src/iceberg/avro/avro_schema_util.cc
   +++ b/src/iceberg/avro/avro_schema_util.cc
   @@ -225,7 +225,7 @@ Status ToAvroNodeVisitor::Visit(const StructType& type, 
::avro::NodePtr* node) {
      *node = std::make_shared<::avro::NodeRecord>();
    
      if (field_ids_.empty()) {
   -    (*node)->setName(::avro::Name("iceberg_schema"));  // Root node
   +    (*node)->setName(::avro::Name("manifest_file"));  // Root node
      } else {
        (*node)->setName(::avro::Name(std::format("r{}", field_ids_.top())));
      }
   
   ```


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

Reply via email to