This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new eb949c7d9 ORC-1871: Include `iomanip` at 
`Test(DictionaryEncoding|ConvertColumnReader)`
eb949c7d9 is described below

commit eb949c7d99ac0b0e1902637a5ae8aa7e82460fbc
Author: Pol Dellaiera <[email protected]>
AuthorDate: Tue Apr 8 11:34:16 2025 +0900

    ORC-1871: Include `iomanip` at 
`Test(DictionaryEncoding|ConvertColumnReader)`
    
    ### What changes were proposed in this pull request?
    
    Add missing includes in source files
    
    ### Why are the changes needed?
    
    To package `orc` in The Linux NixOS distribution. The 
[PR](https://github.com/NixOS/nixpkgs/pull/395541) has already be merged, it 
will be available to the public very soon ([PR 
tracker](https://nixpkgs-tracker.ocfox.me/?pr=395541)). This is [the 
commit](https://github.com/NixOS/nixpkgs/pull/395541/commits/48ff1824abfabd61bd9ff30eff49a943122ada3e)
 to add `apache-orc` to NixOS in a **reproducible way**.
    
    ### How was this patch tested?
    
    Compilation is now successfully achieved with the patch.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Absolutely not.
    
    Closes #2175 from drupol/push-yvkkqmxxmzxl.
    
    Authored-by: Pol Dellaiera <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit af48c5d9cf5f43aed9a1cb811892361d23885e30)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 c++/test/TestConvertColumnReader.cc | 1 +
 c++/test/TestDictionaryEncoding.cc  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/c++/test/TestConvertColumnReader.cc 
b/c++/test/TestConvertColumnReader.cc
index bebe251f4..7c5f05bd3 100644
--- a/c++/test/TestConvertColumnReader.cc
+++ b/c++/test/TestConvertColumnReader.cc
@@ -27,6 +27,7 @@
 #include "ConvertColumnReader.hh"
 #include "MemoryInputStream.hh"
 #include "MemoryOutputStream.hh"
+#include <iomanip>
 
 namespace orc {
 
diff --git a/c++/test/TestDictionaryEncoding.cc 
b/c++/test/TestDictionaryEncoding.cc
index 343c2c558..40c1b1a60 100644
--- a/c++/test/TestDictionaryEncoding.cc
+++ b/c++/test/TestDictionaryEncoding.cc
@@ -25,6 +25,7 @@
 #include "wrap/gtest-wrapper.h"
 
 #include <cmath>
+#include <iomanip>
 #include <sstream>
 
 namespace orc {

Reply via email to