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 f7ef8f2 commit fdec322Copy full SHA for fdec322
src/iceberg/avro/avro_schema_util.cc
@@ -837,9 +837,7 @@ Result<::avro::NodePtr> CreateRecordNodeWithFieldIds(const ::avro::NodePtr& orig
837
attributes.addAttribute(std::string(kFieldIdProp),
838
std::to_string(nested_field->field_id.value()), false);
839
840
- if (!attributes.attributes().empty()) {
841
- new_record_node->addCustomAttributesForField(attributes);
842
- }
+ new_record_node->addCustomAttributesForField(attributes);
843
844
// Recursively apply field IDs to nested fields
845
ICEBERG_ASSIGN_OR_RAISE(auto new_nested_node,
0 commit comments