This is an automated email from the ASF dual-hosted git repository.
bkietz pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
from 9035c4e0ef GH-40536: [CI]: Migrate remaining jobs away from
self-hosted mac runners. (#40537)
add b235f83ed1 GH-38309: [C++] build filesystems as separate modules
(#39067)
No new revisions were added by this update.
Summary of changes:
cpp/examples/arrow/CMakeLists.txt | 10 ++
.../arrow/filesystem_definition_example.cc | 151 ++++++++++++++++
cpp/examples/arrow/filesystem_usage_example.cc | 55 ++++++
cpp/src/arrow/dataset/partition.cc | 4 +-
cpp/src/arrow/dataset/partition_test.cc | 2 +-
.../arrow/engine/substrait/relation_internal.cc | 4 +-
cpp/src/arrow/filesystem/CMakeLists.txt | 4 +-
cpp/src/arrow/filesystem/azurefs.h | 16 +-
cpp/src/arrow/filesystem/filesystem.cc | 199 +++++++++++++++++++--
cpp/src/arrow/filesystem/filesystem.h | 162 +++++++++++++++--
cpp/src/arrow/filesystem/filesystem_library.h | 39 ++++
cpp/src/arrow/filesystem/gcsfs.cc | 4 +-
cpp/src/arrow/filesystem/gcsfs.h | 3 +-
cpp/src/arrow/filesystem/hdfs.cc | 2 +-
cpp/src/arrow/filesystem/hdfs.h | 21 ++-
cpp/src/arrow/filesystem/hdfs_test.cc | 2 +-
cpp/src/arrow/filesystem/localfs.cc | 18 +-
cpp/src/arrow/filesystem/localfs.h | 15 +-
cpp/src/arrow/filesystem/localfs_test.cc | 117 ++++++++++--
cpp/src/arrow/filesystem/mockfs.h | 25 +--
cpp/src/arrow/filesystem/path_util.cc | 2 +-
cpp/src/arrow/filesystem/s3fs.cc | 2 +-
cpp/src/arrow/filesystem/s3fs.h | 21 ++-
cpp/src/arrow/filesystem/s3fs_narrative_test.cc | 6 +-
cpp/src/arrow/filesystem/s3fs_test.cc | 2 +-
cpp/src/arrow/filesystem/util_internal.cc | 2 +-
cpp/src/arrow/filesystem/util_internal.h | 2 +-
cpp/src/arrow/flight/cookie_internal.cc | 4 +-
cpp/src/arrow/flight/transport.h | 2 +-
cpp/src/arrow/flight/transport/grpc/grpc_client.cc | 4 +-
cpp/src/arrow/flight/transport/grpc/grpc_server.cc | 11 +-
cpp/src/arrow/flight/transport/ucx/ucx_client.cc | 9 +-
cpp/src/arrow/flight/transport/ucx/ucx_server.cc | 3 +-
.../arrow/flight/transport/ucx/util_internal.cc | 2 +-
cpp/src/arrow/flight/transport/ucx/util_internal.h | 2 +-
cpp/src/arrow/flight/transport_server.h | 2 +-
cpp/src/arrow/flight/types.cc | 2 +-
cpp/src/arrow/flight/types.h | 6 +-
cpp/src/arrow/io/hdfs_internal.cc | 124 ++++---------
cpp/src/arrow/io/hdfs_internal.h | 14 +-
cpp/src/arrow/testing/CMakeLists.txt | 6 +
.../wrap.h => cpp/src/arrow/testing/examplefs.cc | 23 ++-
cpp/src/arrow/util/io_util.cc | 67 ++++++-
cpp/src/arrow/util/io_util.h | 41 ++++-
cpp/src/arrow/util/type_fwd.h | 1 +
cpp/src/arrow/util/uri.cc | 33 ++--
cpp/src/arrow/util/uri.h | 9 +-
cpp/src/arrow/util/uri_test.cc | 6 +-
cpp/src/arrow/util/visibility.h | 6 +
docs/source/cpp/api/filesystem.rst | 16 +-
docs/source/cpp/io.rst | 57 +++++-
python/pyarrow/src/arrow/python/filesystem.h | 24 +--
52 files changed, 1078 insertions(+), 286 deletions(-)
create mode 100644 cpp/examples/arrow/filesystem_definition_example.cc
create mode 100644 cpp/examples/arrow/filesystem_usage_example.cc
create mode 100644 cpp/src/arrow/filesystem/filesystem_library.h
copy matlab/src/cpp/arrow/matlab/array/proxy/wrap.h =>
cpp/src/arrow/testing/examplefs.cc (57%)