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

delta-rs can't write to a table if datafusion is not enabled #2910

Closed
zhousun opened this issue Sep 26, 2024 · 1 comment
Closed

delta-rs can't write to a table if datafusion is not enabled #2910

zhousun opened this issue Sep 26, 2024 · 1 comment

Comments

@zhousun
Copy link

zhousun commented Sep 26, 2024

I found this when I was trying to use delta-rs to manually write parquet files to delta (so I don't need datafusion).

When creating a table, the minwriter-version will be 2.
So in ProtocolChecker, it will look for 'invariant' in writer_features.

But it is only added when datafusion is enabled:

writer_features.insert(WriterFeatures::Invariants);

So effectively, if datafusion is not enabled, delta-rs won't be able to do any write.

@ion-elgreco
Copy link
Collaborator

Datafusion is simply a requirement to parse invariants and execute them.

Please look at this comment for what you want: #2204 (comment)

@ion-elgreco ion-elgreco closed this as not planned Won't fix, can't repro, duplicate, stale Sep 26, 2024
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

No branches or pull requests

2 participants