Skip to content

Conversation

@kevinjqliu
Copy link
Contributor

Rationale for this change

Follow up to #2798
More test coverages

Are these changes tested?

Are there any user-facing changes?

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds comprehensive test coverage for the update_column functionality that allows changing the required property for list elements and map values, which was fixed in PR #2798.

Changes:

  • Refactored two existing tests to use inline type construction and constructor parameter for allow_incompatible_changes
  • Added 7 new test functions covering edge cases: safe direction changes (required→optional), unsafe changes without flag, map key update restrictions, combined updates, and nested structure updates

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

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

More is more!

@Fokko Fokko merged commit b8b8c53 into apache:main Jan 25, 2026
11 checks passed
@kevinjqliu kevinjqliu deleted the kevinjqliu/more-tests-for-update-column branch January 25, 2026 22:05
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.

2 participants