We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5a6c90 commit a7cf19bCopy full SHA for a7cf19b
src/iceberg/avro/avro_schema_util.cc
@@ -827,9 +827,7 @@ Result<::avro::NodePtr> CreateRecordNodeWithFieldIds(const ::avro::NodePtr& orig
827
attributes.addAttribute(std::string(kFieldIdProp),
828
std::to_string(nested_field->field_id.value()), false);
829
830
- if (!attributes.attributes().empty()) {
831
- new_record_node->addCustomAttributesForField(attributes);
832
- }
+ new_record_node->addCustomAttributesForField(attributes);
833
834
// Recursively apply field IDs to nested fields
835
ICEBERG_ASSIGN_OR_RAISE(auto new_nested_node,
0 commit comments