Skip to content

feat(parquet): derive PartialEq and Eq for CdcOptions#9602

Open
kszucs wants to merge 1 commit intoapache:mainfrom
kszucs:cdc-options-partialeq
Open

feat(parquet): derive PartialEq and Eq for CdcOptions#9602
kszucs wants to merge 1 commit intoapache:mainfrom
kszucs:cdc-options-partialeq

Conversation

@kszucs
Copy link
Member

@kszucs kszucs commented Mar 23, 2026

Rationale for this change

CdcOptions only contains primitive fields (usize, usize, i32) so deriving PartialEq and Eq is straightforward. This is needed by downstream crates such as DataFusion that embed CdcOptions in their own configuration structs and need to compare them.

What changes are included in this PR?

Implemented PartialEq and Eq for CdcOptions.

Are these changes tested?

Added an equality test.

Are there any user-facing changes?

No.

CdcOptions only contains primitive fields (usize, usize, i32) so
deriving PartialEq and Eq is straightforward. This is needed by
downstream crates such as DataFusion that embed CdcOptions in their
own configuration structs and need to compare them.
@github-actions github-actions bot added the parquet Changes to the parquet crate label Mar 23, 2026
@kszucs kszucs changed the title feat(parquet): derive PartialEq and Eq for CdcOptions feat(parquet): derive PartialEq and Eq for CdcOptions Mar 23, 2026
Copy link
Contributor

@etseidl etseidl left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

parquet Changes to the parquet crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants