Skip to content

Conversation

@somasays
Copy link
Contributor

@somasays somasays commented Dec 8, 2025

Summary

Test plan

  • All 3032 unit tests pass
  • Lint passes
  • New tests cover: updating list element required, updating map value required

Closes #2786

… values

Closes apache#2786

The `update_schema().update_column()` method was not updating the
`required` property for list elements or map values. The `_ApplyChanges`
visitor's `list()` and `map()` methods always used the original
`element_required` and `value_required` values without checking for
updates in `self._updates`.

This fix modifies both methods to check `self._updates` for the
element/value field ID and use the updated `required` value if present.
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.

update_schema().update_column() does not update required property for list elements

1 participant