This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 857092c3b9 MINOR: [C++] Add missing header for ORC adapter (#44876)
857092c3b9 is described below
commit 857092c3b9c0b8d4f0dba0fcfbec7c0a4b19889d
Author: Michael Lui <[email protected]>
AuthorDate: Wed Nov 27 21:20:37 2024 -0500
MINOR: [C++] Add missing header for ORC adapter (#44876)
### Rationale for this change
Very minor. This source file cannot be compiled on its own manually, due to
missing stringstream headers. This fixes that. Otherwise we get `implicit
instantiation of undefined template` errors.
Context is we build Apache Arrow in a separate build system, Buck. As such,
we do not (and cannot) 100% mirror the CMake build. In the past we've also had
to patch header issues like: 529e08c. Thus, this change is for posterity to
avoid having to custom patches on every new release.
### What changes are included in this PR?
Adds <sstream> which is used here:
https://github.com/apache/arrow/blob/main/cpp/src/arrow/adapters/orc/util.cc#L1226
### Are these changes tested?
N/A
### Are there any user-facing changes?
No
Authored-by: Mike Lui <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
cpp/src/arrow/adapters/orc/util.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/cpp/src/arrow/adapters/orc/util.cc
b/cpp/src/arrow/adapters/orc/util.cc
index 5bfe257ac7..6974faae59 100644
--- a/cpp/src/arrow/adapters/orc/util.cc
+++ b/cpp/src/arrow/adapters/orc/util.cc
@@ -18,6 +18,7 @@
#include "arrow/adapters/orc/util.h"
#include <cmath>
+#include <sstream>
#include <string>
#include <string_view>
#include <vector>