You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tom, I have an initial implementation completed. However, I have concerns surrounding testing. Specifically:
How have other contributors been testing similar functionality?
Is there a scripted process that I can follow to replicate that testing?
I took a look at the azurefs_test.cc file and noted the modifications made to provide regression for similar functionality. However I am wondering what all use cases I would need to support for DeleteFile? I am not as familiar with this type of testing, as we do our own in-house stuff, but this seems straightforward enough.
Finally, I implemented this using DeleteIfExists() rather than Delete(), for I saw that the former method was used elsewhere in the Azure work. Any feedback regarding that choice?
Tom, I have an initial implementation completed. However, I have concerns surrounding testing. Specifically:
Great! Could you open a draft PR for it?
How have other contributors been testing similar functionality?
I'm using ninja -C cpp.build debug/arrow-azurefs-test && LD_LIBRARY_PATH=$PWD/cpp.build/debug cpp.build/debug/arrow-azurefs-test. Here are some notes for the command line:
I'm on Debian GNU/Linux
I use cpp.build as my build directory for cpp/
The current directory is the top directory of cloned apache/arrow
Is there a scripted process that I can follow to replicate that testing?
I took a look at the azurefs_test.cc file and noted the modifications made to provide regression for similar functionality. However I am wondering what all use cases I would need to support for DeleteFile? I am not as familiar with this type of testing, as we do our own in-house stuff, but this seems straightforward enough.
We'll use generic tests eventually after we implement all features: #39069
Finally, I implemented this using DeleteIfExists() rather than Delete(), for I saw that the former method was used elsewhere in the Azure work. Any feedback regarding that choice?
Activity
av8or1 commentedon Dec 4, 2023
Take
av8or1 commentedon Jan 8, 2024
Tom, I have an initial implementation completed. However, I have concerns surrounding testing. Specifically:
Finally, I implemented this using DeleteIfExists() rather than Delete(), for I saw that the former method was used elsewhere in the Azure work. Any feedback regarding that choice?
kou commentedon Jan 10, 2024
Great! Could you open a draft PR for it?
I'm using
ninja -C cpp.build debug/arrow-azurefs-test && LD_LIBRARY_PATH=$PWD/cpp.build/debug cpp.build/debug/arrow-azurefs-test. Here are some notes for the command line:cpp.buildas my build directory forcpp/https://arrow.apache.org/docs/developers/cpp/development.html#running-unit-tests is the standard process but it runs all tests.
We can borrow test patterns from GCS's one for now: https://github.com/apache/arrow/blob/main/cpp/src/arrow/filesystem/gcsfs_test.cc
We'll use generic tests eventually after we implement all features: #39069
Let's discuss this on a draft PR.
av8or1 commentedon Jan 17, 2024
Thanks. I have opened a PR:
#39648
Note that this is my first attempt at the process of contributing to the Arrow library.
GH-38703: [C++][FS][Azure] Implement DeleteFile() (#39840)
apacheGH-38703: [C++][FS][Azure] Implement DeleteFile() (apache#39840)