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

[Kernel] Minor cleanup of APIs used for checking read/write supported protocol #4149

Merged
merged 2 commits into from
Feb 12, 2025

Conversation

vkorukanti
Copy link
Collaborator

Description

Currently, we pass optional Metadata to validateReadSupportedTable, which is just used for checking whether it has supported column mapping mode. We don't need to check that as if an unknown mode is passed, it will anyway fail later on. Also if a new mode is added, it will be part of a new table feature

Also for validateWriteSupportedTable, we pass the schema and metadata separately. Instead just passing the metadata (which has the schema) should be sufficient.

The implementation of these APIs going to change in the subsequent PRs.

How was this patch tested?

Existing tests.

@vkorukanti vkorukanti merged commit c3f2cb0 into delta-io:master Feb 12, 2025
19 checks passed
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