This is an automated email from the ASF dual-hosted git repository.
yibocai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new fd978e4d23 ARROW-16714: [C++] Remove deprecated IPC APIs (#13288)
fd978e4d23 is described below
commit fd978e4d23d960fd9cc725673194a1ce101fd51a
Author: Antoine Pitrou <[email protected]>
AuthorDate: Thu Jun 2 03:33:51 2022 +0200
ARROW-16714: [C++] Remove deprecated IPC APIs (#13288)
Authored-by: Antoine Pitrou <[email protected]>
Signed-off-by: Yibo Cai <[email protected]>
---
cpp/src/arrow/ipc/options.h | 4 ----
cpp/src/arrow/ipc/writer.h | 13 -------------
2 files changed, 17 deletions(-)
diff --git a/cpp/src/arrow/ipc/options.h b/cpp/src/arrow/ipc/options.h
index 2af9d8e9c1..4206f36195 100644
--- a/cpp/src/arrow/ipc/options.h
+++ b/cpp/src/arrow/ipc/options.h
@@ -112,10 +112,6 @@ struct ARROW_EXPORT IpcWriteOptions {
static IpcWriteOptions Defaults();
};
-#ifndef ARROW_NO_DEPRECATED_API
-using IpcOptions = IpcWriteOptions;
-#endif
-
/// \brief Options for reading Arrow IPC messages
struct ARROW_EXPORT IpcReadOptions {
/// \brief The maximum permitted schema nesting depth.
diff --git a/cpp/src/arrow/ipc/writer.h b/cpp/src/arrow/ipc/writer.h
index eb5827a609..6dc62f4176 100644
--- a/cpp/src/arrow/ipc/writer.h
+++ b/cpp/src/arrow/ipc/writer.h
@@ -186,19 +186,6 @@ Result<std::shared_ptr<RecordBatchWriter>> MakeFileWriter(
/// @}
-ARROW_DEPRECATED("Deprecated in 3.0.0. Use MakeStreamWriter")
-ARROW_EXPORT
-Result<std::shared_ptr<RecordBatchWriter>> NewStreamWriter(
- io::OutputStream* sink, const std::shared_ptr<Schema>& schema,
- const IpcWriteOptions& options = IpcWriteOptions::Defaults());
-
-ARROW_DEPRECATED("Deprecated in 2.0.0. Use MakeFileWriter")
-ARROW_EXPORT
-Result<std::shared_ptr<RecordBatchWriter>> NewFileWriter(
- io::OutputStream* sink, const std::shared_ptr<Schema>& schema,
- const IpcWriteOptions& options = IpcWriteOptions::Defaults(),
- const std::shared_ptr<const KeyValueMetadata>& metadata = NULLPTR);
-
/// \brief Low-level API for writing a record batch (without schema)
/// to an OutputStream as encapsulated IPC message. See Arrow format
/// documentation for more detail.