Skip to content

Make field repr explicit about optionality, add exception type#43

Merged
Xuanwo merged 2 commits into
apache:mainfrom
lidavidm:schema2
Feb 18, 2025
Merged

Make field repr explicit about optionality, add exception type#43
Xuanwo merged 2 commits into
apache:mainfrom
lidavidm:schema2

Conversation

@lidavidm

@lidavidm lidavidm commented Feb 4, 2025

Copy link
Copy Markdown
Member
  • Fix some clang-tidy lints (virtual ~Foo() = default -> ~Foo() override = default, missing explicit)
  • Add iceberg::IcebergError instead of std::runtime_error
  • Make field repr explicitly put (optional)
  • Note current time complexity of field accessors

@lidavidm lidavidm marked this pull request as ready for review February 4, 2025 05:48

@Fokko Fokko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for adding the optional 👍

Comment thread src/iceberg/schema_field.cc Outdated
Co-authored-by: Fokko Driesprong <fokko@apache.org>

@zhjwpku zhjwpku left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@lidavidm

Copy link
Copy Markdown
Member Author

Any more comments here?

@wgtmac

wgtmac commented Feb 18, 2025

Copy link
Copy Markdown
Member

@Fokko @Xuanwo Could you help merge this? Thanks!

@Xuanwo Xuanwo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you all, I like the iceberg::IcebergError.

@Xuanwo Xuanwo merged commit 17c500a into apache:main Feb 18, 2025
@lidavidm lidavidm deleted the schema2 branch February 18, 2025 08:12
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.

6 participants