-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Create writer with arrow::ipc::IPCWriteOptions
#4730
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @askoa
I wonder if it might be worth adding some test to ensure this API is not accidentally broken / removed as part of some future refactoring
The API dos not add new functionality. It provides a bridge to access the compression function in |
Benchmark runs are scheduled for baseline = 01d00fd and contender = 9331ee3. 9331ee3 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Thank you very mucht for adding this feature, no worries for the test! In some cases, features might be lost by someone moving / refactoring the code as part of another change - this happened quite a few times before in arrow-rs / arrow-datafusion! Tests covering those code paths help avoiding issues like that. In ballista this might be only discovered once the version is updated (which may be only after a new version is released). |
I don't know the scenarios you are referring to. But during those refactoring the person might remove the test along with the code. So, in my opinion, catching when |
This is definitely true. Tests such as @Dandandan and I are referring to do not guarantee code isn't broken. However, I for one, when reviewing PRs look quite carefully at the tests that are changed / modified so having them act as a "second check" I think it is fine for this PR to not have added tests, but I do think they serve an important purpose which is why I am belaboring this point |
Which issue does this PR close?
Closes #4708