Skip to content

Conversation

Aniketsy
Copy link
Contributor

@Aniketsy Aniketsy commented Oct 8, 2025

#2520

This PR makes the Not boolean expression in pyiceberg JSON serializable using Pydantic

Please let me know if my approach or fix needs any improvements . I’m open to feedback and happy to make changes based on suggestions.
Thank you !

Copy link
Contributor

@rambleraptor rambleraptor left a comment

Choose a reason for hiding this comment

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

Can you write a test for:

  • Converting a Not Expression to JSON
  • Converting a JSON Not Expression -> Python Not Expression

This does just enough Pydantic magic that I'm concerned about potential side-effects and a test will help ground us.

@Aniketsy Aniketsy force-pushed the fix/not-json-serializable branch from ee4fac1 to bb091bd Compare October 10, 2025 04:18
@Aniketsy
Copy link
Contributor Author

@rambleraptor I have updated with changes, please let me know if this needs improvement. Thanks!

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