-
Notifications
You must be signed in to change notification settings - Fork 403
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
Make table protocol version / table features easily accessible #1657
Comments
That's the return value of the delta-rs/python/deltalake/table.py Line 413 in 7d2bb27
For some reason this method isn't documented. |
Oh it's probably just because it doesn't have a docstring. Anyone want to make a PR to add one? |
@wjones127 - getting this documented would be awesome! What do you think about another |
Perhaps this could be another field on class ProtocolVersions(NamedTuple):
min_reader_version: int
min_writer_version: int
table_features: List[str] |
Currently we can access them I saw, with |
I'd like to try myself on this issue. pub struct Protocol {
pub min_reader_version: i32,
pub min_writer_version: i32,
pub reader_features: Option<Vec<String>>,
pub writer_features: Option<Vec<String>>,
} Also, the DeltaTableState should be extended with Is this understanding correct? Edit: I've seen that this issue will be taken care of with this PR. |
Description
There is a
deltalake.table.ProtocolVersion
interface here, but I don't fully understand it. I guess this is for changing the protocol versions of a table?Is there a way to fetch the reader_version & writer_version for a table?
Is there a way to fetch all the table features that are enabled for a table?
The text was updated successfully, but these errors were encountered: