Repository navigation
GH-39069: [C++][FS][Azure] Use the generic filesystem tests - #40567
Conversation
|
|
|
We need to fix some methods: https://github.com/apache/arrow/actions/runs/8292331910/job/22693446087?pr=40567#step:6:6004 |
|
I've changed the current implementation to pass the generic filesystem tests but it's still dirty... |
There was a problem hiding this comment.
clearer wording:
// Recursive CreateDir calls require that all path segments be either a directory or not found
There was a problem hiding this comment.
A better name for the parent variable is prefix because a "prefix" can be the entire location whereas starting with parent = location; is very weird because of the choice of variable name.
There was a problem hiding this comment.
OK. I've changed it to prefix.
There was a problem hiding this comment.
After the first iteration of this loop, an exception shouldn't report a failure of the entire operation: the full path creates all the prefixes (they are "implied directories"). All the other functions handle implied directories, so it should be OK to rely on them.
There was a problem hiding this comment.
We need a way to run these generic tests against the real Azure Data Lake environment.
There was a problem hiding this comment.
I've added support for running with AzureFlatNSEnv and AzureHierarchicalNSEnv.
We've implemented file metadata for Azure Filesystem.
78e5a1a to
d4dd4f1
Compare
|
The generic filesystem tests are passed with Azurite but failed with hierarchical name space enabled Azure account: Can we work on this as a separated task? |
|
@felipecrv Do you want to review again before we merge this? |
|
After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit 9e320d7. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 7 possible false positives for unstable benchmarks that are known to sometimes produce them. |
Sorry for the delay in responding. No, this is fine. Thank you! |
…ache#40567) ### Rationale for this change We should provide common spec for all filesystem API. ### What changes are included in this PR? Enable the generic filesystem tests. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: apache#39069 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Rationale for this change
We should provide common spec for all filesystem API.
What changes are included in this PR?
Enable the generic filesystem tests.
Are these changes tested?
Yes.
Are there any user-facing changes?
No.