commit | 8f2b610d934ad31bd0a683fc26ebf0dc69e4775b | [log] [tgz] |
---|---|---|
author | William Hyun <william@apache.org> | Wed Aug 17 13:11:52 2022 -0700 |
committer | Dongjoon Hyun <dongjoon@apache.org> | Wed Aug 17 13:11:52 2022 -0700 |
tree | 62d598569979f0615095ef614efda2c49ae4bf53 | |
parent | 8510a4c1da9ac21b128ae0b86479033f34ba1db0 [diff] |
ORC-1253: Add Fedora 37 Docker test ### What changes were proposed in this pull request? This PR aims to add Febdora 37 Docker test. ### Why are the changes needed? To improve test coverage. ### How was this patch tested? Manually test on AMD64. Note that ORC-762 still exists; protobuffer 2.5.0 only works on AMD64 and Apple silicon. ``` $ docker build -t apache/orc-dev:fedora37 fedora37 $ ./run-one.sh local fedora37 fedora37 ... Test project /root/build Start 1: orc-test 1/8 Test #1: orc-test ......................... Passed 5.35 sec Start 2: java-test 2/8 Test #2: java-test ........................ Passed 192.94 sec Start 3: java-tools-test 3/8 Test #3: java-tools-test .................. Passed 0.14 sec Start 4: java-bench-gen-test 4/8 Test #4: java-bench-gen-test .............. Passed 1.38 sec Start 5: java-bench-scan-test 5/8 Test #5: java-bench-scan-test ............. Passed 1.23 sec Start 6: java-bench-hive-test 6/8 Test #6: java-bench-hive-test ............. Passed 13.55 sec Start 7: java-bench-spark-test 7/8 Test #7: java-bench-spark-test ............ Passed 4.66 sec Start 8: tool-test 8/8 Test #8: tool-test ........................ Passed 10.70 sec 100% tests passed, 0 tests failed out of 8 Total Test time (real) = 229.97 sec Built target test-out Finished fedora37 at Wed Aug 17 13:10:33 PDT 2022 ``` Closes #1224 from williamhyun/fedora37. Authored-by: William Hyun <william@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
ORC is a self-describing type-aware columnar file format designed for Hadoop workloads. It is optimized for large streaming reads, but with integrated support for finding required rows quickly. Storing data in a columnar format lets the reader read, decompress, and process only the values that are required for the current query. Because ORC files are type-aware, the writer chooses the most appropriate encoding for the type and builds an internal index as the file is written. Predicate pushdown uses those indexes to determine which stripes in a file need to be read for a particular query and the row indexes can narrow the search to a particular set of 10,000 rows. ORC supports the complete set of types in Hive, including the complex types: structs, lists, maps, and unions.
This project includes both a Java library and a C++ library for reading and writing the Optimized Row Columnar (ORC) file format. The C++ and Java libraries are completely independent of each other and will each read all versions of ORC files.
Releases:
The current build status:
Bug tracking: Apache Jira
The subdirectories are:
To build a release version with debug information:
% mkdir build % cd build % cmake .. % make package % make test-out
To build a debug version:
% mkdir build % cd build % cmake .. -DCMAKE_BUILD_TYPE=DEBUG % make package % make test-out
To build a release version without debug information:
% mkdir build % cd build % cmake .. -DCMAKE_BUILD_TYPE=RELEASE % make package % make test-out
To build only the Java library:
% cd java % ./mvnw package
To build only the C++ library:
% mkdir build % cd build % cmake .. -DBUILD_JAVA=OFF % make package % make test-out