Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate schema diff for better errors in change data feed #564

Open
OussamaSaoudi-db opened this issue Dec 5, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@OussamaSaoudi-db
Copy link
Collaborator

Please describe why this is necessary.

We must compare schemas for compatibility when performing Change Data Feed. Currently, Error::ChangeDataFeedIncompatibleSchema takes two StructType that are the incompatible structs. While this communicates the struct types, it does not present where the two structs differ. This makes it hard for users to understand how the structs failed to be compatible.

Describe the functionality you are proposing.

Redesign the Error::ChangeDataFeedIncompatibleSchema to communicate only the minimal set of differences between the structs.

Additional context

No response

@OussamaSaoudi-db OussamaSaoudi-db added the enhancement New feature or request label Dec 5, 2024
@OussamaSaoudi-db OussamaSaoudi-db changed the title Schema diff for better errors in change data feed Generate schema diff for better errors in change data feed Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant