bkietz commented on code in PR #39067:
URL: https://github.com/apache/arrow/pull/39067#discussion_r1516426043
##########
cpp/src/arrow/filesystem/localfs_test.cc:
##########
@@ -86,6 +84,86 @@ Result<std::shared_ptr<FileSystem>> FSFromUriOrPath(const
std::string& uri,
////////////////////////////////////////////////////////////////////////////
// Misc tests
+Result<std::shared_ptr<FileSystem>> SlowFileSystemFactory(const Uri& uri,
+ const io::IOContext&
io_context,
+ std::string*
out_path) {
+ auto local_uri = "file" + uri.ToString().substr(uri.scheme().size());
+ ARROW_ASSIGN_OR_RAISE(auto base_fs, FileSystemFromUri(local_uri, io_context,
out_path));
+ double average_latency = 1;
+ int32_t seed = 0xDEADBEEF;
+ ARROW_ASSIGN_OR_RAISE(auto params, uri.query_items());
Review Comment:
I'll add some query parameters to a test
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]