Skip to content

feat: avro support applying field-ids based on name mapping #127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

MisterRaindrop
Copy link
Contributor

@MisterRaindrop MisterRaindrop commented Jun 22, 2025

see issue #128

@MisterRaindrop MisterRaindrop changed the title avro support applying field-ids based on name mapping feat: avro support applying field-ids based on name mapping Jun 22, 2025
Copy link
Member

@mapleFU mapleFU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a style pass

@MisterRaindrop MisterRaindrop force-pushed the rain/support_field_ids_mapping_2 branch from 46391f0 to 7ddeb06 Compare July 5, 2025 09:01
@MisterRaindrop
Copy link
Contributor Author

MisterRaindrop commented Jul 7, 2025

@wgtmac hi please help me review it again when you’re free.

Copy link
Member

@wgtmac wgtmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update! I have left some comments. Let me know when all test cases are good.

@MisterRaindrop
Copy link
Contributor Author

@wgtmac hi, I update code and all test is ok

@MisterRaindrop MisterRaindrop force-pushed the rain/support_field_ids_mapping_2 branch from 13aef21 to a19781e Compare July 18, 2025 02:25
@MisterRaindrop
Copy link
Contributor Author

Thanks a lot for reviewing my changes , I’ve updated the code based on your suggestions, please check if there are any other suggestions for this PR? @wgtmac

const auto& original_attrs = original_node->customAttributesAt(i);
const auto& existing_attrs = original_attrs.attributes();
for (const auto& attr_pair : existing_attrs) {
attributes.addAttribute(attr_pair.first, attr_pair.second, false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add this comment.

@MisterRaindrop MisterRaindrop force-pushed the rain/support_field_ids_mapping_2 branch from 9ad7bcf to c5a71ad Compare July 27, 2025 03:36
@MisterRaindrop MisterRaindrop force-pushed the rain/support_field_ids_mapping_2 branch from c5a71ad to 94cee21 Compare July 28, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants