From d81c8dd11f0d462bc5a780c60b8b06eed45c7080 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Sun, 25 Dec 2022 05:39:09 +0900 Subject: [PATCH] GH-14990: [C++][Skyhook] Follow FileFormat() API change `arrow::dataset::FileFormat`'s constructor API was changed in ARROW-17288/GH-14663. --- cpp/src/skyhook/client/file_skyhook.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/src/skyhook/client/file_skyhook.cc b/cpp/src/skyhook/client/file_skyhook.cc index cc262803533..725b04a345b 100644 --- a/cpp/src/skyhook/client/file_skyhook.cc +++ b/cpp/src/skyhook/client/file_skyhook.cc @@ -14,6 +14,7 @@ // KIND, either express or implied. See the License for the // specific language governing permissions and limitations // under the License. + #include "skyhook/client/file_skyhook.h" #include "skyhook/protocol/rados_protocol.h" #include "skyhook/protocol/skyhook_protocol.h" @@ -132,7 +133,7 @@ arrow::Result> SkyhookFileFormat::Make( SkyhookFileFormat::SkyhookFileFormat(std::shared_ptr ctx, std::string file_format) - : impl_(new Impl(std::move(ctx), std::move(file_format))) {} + : FileFormat(nullptr), impl_(new Impl(std::move(ctx), std::move(file_format))) {} SkyhookFileFormat::~SkyhookFileFormat() = default;