We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2880299 commit b19c712Copy full SHA for b19c712
src/iceberg/avro/avro_schema_util.cc
@@ -792,11 +792,6 @@ Result<::avro::NodePtr> CreateRecordNodeWithFieldIds(const ::avro::NodePtr& orig
792
auto new_record_node = std::make_shared<::avro::NodeRecord>();
793
new_record_node->setName(original_node->name());
794
795
- if (original_node->leaves() > original_node->names()) {
796
- return InvalidSchema("Node has {} leaves but only {} names", original_node->leaves(),
797
- original_node->names());
798
- }
799
-
800
for (size_t i = 0; i < original_node->leaves(); ++i) {
801
if (i >= original_node->names()) {
802
return InvalidSchema(...);
0 commit comments