Skip to content

feat!: Change default of is_human_readable to false - #325

Merged
martin-g merged 1 commit into
apache:mainfrom
Kriskras99:feat/human_readable
Oct 28, 2025
Merged

martin-g merged 1 commit into
apache:mainfrom
Kriskras99:feat/human_readable

Conversation

@Kriskras99

Copy link
Copy Markdown
Contributor

According to the Serde documentation this is the correct value as Avro is not a human readable format. This will make files more compact and have the serializer do less work depending on the type.

This is a breaking change, but it is easy for a user to go back to the previous default by calling set_human_readable(true) which we can add to the changelog.

This makes output files smaller when Serde is used for serialisation.

To revert to the old behaviour call `set_serde_human_readable(true)`.
@Kriskras99

Copy link
Copy Markdown
Contributor Author

You can see in the changed test output how this makes the file more compact.

@Kriskras99
Kriskras99 requested a review from martin-g October 28, 2025 20:41
@Kriskras99 Kriskras99 mentioned this pull request Oct 28, 2025
@martin-g
martin-g merged commit 61953fe into apache:main Oct 28, 2025
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