Skip to content

Commit 9c4a0a2

Browse files
format code
1 parent d888a8c commit 9c4a0a2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/iceberg/avro/avro_schema_util.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -981,16 +981,17 @@ Result<::avro::NodePtr> CreateMapNodeWithFieldIds(const ::avro::NodePtr& origina
981981
}
982982

983983
// Copy node-level custom attributes if any
984-
// We already handled field-specific attributes above, now add any remaining attributes
985-
// to preserve all metadata
984+
// We already handled field-specific attributes above, now add any remaining
985+
// attributes to preserve all metadata
986986
::avro::CustomAttributes node_attributes;
987987
for (size_t i = 0; i < original_node->customAttributes(); i++) {
988988
const auto& original_attrs = original_node->customAttributesAt(i);
989989
const auto& existing_attrs = original_attrs.attributes();
990990
for (const auto& attr_pair : existing_attrs) {
991991
// Skip field ID attributes we've already handled
992992
if (attr_pair.first != kKeyIdProp && attr_pair.first != kValueIdProp) {
993-
node_attributes.addAttribute(attr_pair.first, attr_pair.second, /*addQuote=*/false);
993+
node_attributes.addAttribute(attr_pair.first, attr_pair.second,
994+
/*addQuote=*/false);
994995
}
995996
}
996997
}

0 commit comments

Comments
 (0)